UI: Allow creation of AWS session_token type role (#27424)

* Add fields for session_token type role

* add changelog
This commit is contained in:
Chelsea Shaw 2024-06-10 12:48:43 -05:00 committed by GitHub
parent eb8496e874
commit b0864e3f54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

3
changelog/27424.txt Normal file
View file

@ -0,0 +1,3 @@
```release-note:bug
ui: Allow creation of session_token type roles for AWS secret backend
```

View file

@ -66,7 +66,7 @@ export default Model.extend({
iam_user: ['name', 'credentialType', 'policyArns', 'policyDocument'],
assumed_role: ['name', 'credentialType', 'roleArns', 'policyDocument'],
federation_token: ['name', 'credentialType', 'policyDocument'],
session_token: [],
session_token: ['name', 'credentialType'],
};
return expandAttributeMeta(this, keysForType[credentialType]);