Updating object storage endpoints
In 18.0.0.0, parameters like endpoint, region, bucket/container, and access credentials can be updated. This ability is only available via the CLI, with a graphical interface soon to come.
The following example CLI session shows how the accessCredentials
can be updated (from using keys to using managed identities) on a cloud engine:
CODE
az-test> storage objectStorage
az-test storage objectStorage> get
type: BlobObjectStore
accessCredentials:
type: BlobObjectStoreAccessKey
azureAccount: doseprod
azureKey: ********
cacheDevices: lun0,lun1,lun2
configured: true
container: az-test
endpoint: -
size: 1TB
az-test storage objectStorage> update
az-test storage objectStorage update *> edit accessCredentials
az-test storage objectStorage update accessCredentials *> set type=BlobObjectStoreAccessManagedIdentities
az-test storage objectStorage update accessCredentials *> get
type: BlobObjectStoreAccessManagedIdentities (*)
azureAccount: doseprod
az-test storage objectStorage update accessCredentials *> commit
az-test storage objectStorage> get
type: BlobObjectStore
accessCredentials:
type: BlobObjectStoreAccessManagedIdentities
azureAccount: doseprod
cacheDevices: lun0,lun1,lun2
configured: true
container: az-test
endpoint: -
size: 1TB
az-test storage objectStorage>