Add isNestedSecret option to model, add secrets field to model, add isNestedSecert serialization. Change tests to the last changes
This commit is contained in:
1 parent
712607cb0c
commit
614be72a6e
3 files changed
+24
-4
No files matched your search
@@ -44,6 +44,11 @@ export default class GeneratedHostCatalogModel extends BaseModel {
|
||||
})
|
||||
attributes;
|
||||
|
||||
@attr({
|
||||
description: 'Secrets specific to the plugin type',
|
||||
})
|
||||
secrets;
|
||||
|
||||
@attr('number', {
|
||||
description: 'Current version number of this resource.',
|
||||
})
|
||||
@@ -72,14 +77,14 @@ export default class GeneratedHostCatalogModel extends BaseModel {
|
||||
region;
|
||||
|
||||
@attr('string', {
|
||||
isNestedAttribute: true,
|
||||
isNestedSecret: true,
|
||||
writeOnly: true,
|
||||
description: '',
|
||||
})
|
||||
access_key_id;
|
||||
|
||||
@attr('string', {
|
||||
isNestedAttribute: true,
|
||||
isNestedSecret: true,
|
||||
writeOnly: true,
|
||||
description: '',
|
||||
})
|
||||
@@ -106,14 +111,14 @@ export default class GeneratedHostCatalogModel extends BaseModel {
|
||||
subscription_id;
|
||||
|
||||
@attr('string', {
|
||||
isNestedAttribute: true,
|
||||
isNestedSecret: true,
|
||||
writeOnly: true,
|
||||
description: '',
|
||||
})
|
||||
secret_id;
|
||||
|
||||
@attr('string', {
|
||||
isNestedAttribute: true,
|
||||
isNestedSecret: true,
|
||||
writeOnly: true,
|
||||
description: '',
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user