Icu 11022 update dynamic credentials in sb form (#1901)

This commit is contained in:
Dharini Jeeva authored and GitHub committed 2023-09-18 14:23:30 -07:00
1 parent 4910070c95
commit 78d1e09a0d
8 files changed
+112 -33

No files matched your search

+1 -1
View File
@@ -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;