Update credentials (#2523)
* feat: 🎸 allow AWS host catalog credential type update
This commit is contained in:
1 parent
98d19ef591
commit
6956b30fd6
8 files changed
+132
-72
No files matched your search
@@ -58,6 +58,7 @@ export default class GeneratedHostCatalogModel extends BaseModel {
|
||||
// AWS & Azure
|
||||
|
||||
@attr('boolean', {
|
||||
for: 'plugin',
|
||||
isNestedAttribute: true,
|
||||
description: '',
|
||||
})
|
||||
@@ -66,12 +67,14 @@ export default class GeneratedHostCatalogModel extends BaseModel {
|
||||
// AWS specific
|
||||
|
||||
@attr('string', {
|
||||
for: 'plugin',
|
||||
description:
|
||||
'An expression used to filter the workers that have network access to a service that is hosting the external object store.',
|
||||
})
|
||||
worker_filter;
|
||||
|
||||
@attr('string', {
|
||||
for: 'plugin',
|
||||
isNestedAttribute: true,
|
||||
description: '',
|
||||
})
|
||||
@@ -79,12 +82,14 @@ export default class GeneratedHostCatalogModel extends BaseModel {
|
||||
|
||||
// AWS static credentials
|
||||
@attr('string', {
|
||||
for: 'plugin',
|
||||
isNestedSecret: true,
|
||||
description: '',
|
||||
})
|
||||
access_key_id;
|
||||
|
||||
@attr('string', {
|
||||
for: 'plugin',
|
||||
isNestedSecret: true,
|
||||
description: '',
|
||||
})
|
||||
@@ -92,24 +97,28 @@ export default class GeneratedHostCatalogModel extends BaseModel {
|
||||
|
||||
// AWS dynamic credentials
|
||||
@attr('string', {
|
||||
for: 'plugin',
|
||||
isNestedAttribute: true,
|
||||
description: 'The role ARN to use.',
|
||||
})
|
||||
role_arn;
|
||||
|
||||
@attr('string', {
|
||||
for: 'plugin',
|
||||
isNestedAttribute: true,
|
||||
description: 'The role external ID to use.',
|
||||
})
|
||||
role_external_id;
|
||||
|
||||
@attr('string', {
|
||||
for: 'plugin',
|
||||
isNestedAttribute: true,
|
||||
description: 'The role session to use.',
|
||||
})
|
||||
role_session_name;
|
||||
|
||||
@attr('object-as-array', {
|
||||
for: 'plugin',
|
||||
isNestedAttribute: true,
|
||||
description: 'The role tags to use.',
|
||||
})
|
||||
@@ -118,30 +127,35 @@ export default class GeneratedHostCatalogModel extends BaseModel {
|
||||
// Azure specific
|
||||
|
||||
@attr('string', {
|
||||
for: 'plugin',
|
||||
isNestedAttribute: true,
|
||||
description: '',
|
||||
})
|
||||
tenant_id;
|
||||
|
||||
@attr('string', {
|
||||
for: 'plugin',
|
||||
isNestedAttribute: true,
|
||||
description: '',
|
||||
})
|
||||
client_id;
|
||||
|
||||
@attr('string', {
|
||||
for: 'plugin',
|
||||
isNestedAttribute: true,
|
||||
description: '',
|
||||
})
|
||||
subscription_id;
|
||||
|
||||
@attr('string', {
|
||||
for: 'plugin',
|
||||
isNestedSecret: true,
|
||||
description: '',
|
||||
})
|
||||
secret_id;
|
||||
|
||||
@attr('string', {
|
||||
for: 'plugin',
|
||||
isNestedSecret: true,
|
||||
description: '',
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user