I have no support/technical question and have seen the support category. (Be aware that direct support questions will be deleted.)
on
Which general topic do you have
Hello everyone,
I am currently working on setting up OpenStack Swift as the primary object storage for Nextcloud. While using standard OpenStack user credentials (e.g., user.name and user.password) works perfectly fine, I would prefer to use OpenStack Application Credentials for enhanced security, as these enable scoped, application-specific access.
Unfortunately, after reviewing the Nextcloud documentation on primary object storage, I could not find any mention of support for Application Credentials. Nevertheless, since OpenStack Keystone’s v3 API supports them natively, my question is:
Does Nextcloud’s Swift integration already support Application Credentials but just lacks documentation on how to configure them?
If yes, how should I configure Nextcloud in the config.php file? For example, are there specific keys like applicationCredentialId and applicationCredentialSecret that I need to supply instead of user.name and user.password?
If no, are there any plans to integrate support for OpenStack Application Credentials in future Nextcloud releases?
For reference, here is my current configuration block for Swift (works with a primary user and password but fails when using application credentials):
'objectstore' => [
'class' => 'OC\\Files\\ObjectStore\\Swift',
'arguments' => [
'autocreate' => true,
'user' => [
'name' => 'username',
'password' => 'password',
'domain' => [
'name' => 'default',
],
],
'scope' => [
'project' => [
'name' => '<project-name>',
'domain' => [
'name' => 'default',
],
],
],
'serviceName' => 'swift',
'region' => '<region>',
'url' => 'https://<keystone-api-url>/identity/v3/',
'bucket' => '<bucket-name>',
],
],