Icu 11022 update dynamic credentials in sb form (#1901)
This commit is contained in:
1 parent
4910070c95
commit
78d1e09a0d
8 files changed
+112
-33
No files matched your search
@@ -36,7 +36,7 @@ export default class StorageBucketModel extends GeneratedStorageBucketModel {
|
||||
* @type {string}
|
||||
*/
|
||||
get credentialType() {
|
||||
if (this.role_arn) {
|
||||
if (this.role_arn && !this.access_key_id) {
|
||||
return TYPE_CREDENTIAL_DYNAMIC;
|
||||
} else {
|
||||
return TYPE_CREDENTIAL_STATIC;
|
||||
|
||||
Reference in new issue
Block a user