diff --git a/changelog/27424.txt b/changelog/27424.txt new file mode 100644 index 000000000000..fcfb93ea4bc8 --- /dev/null +++ b/changelog/27424.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: Allow creation of session_token type roles for AWS secret backend +``` \ No newline at end of file diff --git a/ui/app/models/role-aws.js b/ui/app/models/role-aws.js index fc4ae9050ad6..22a1d2f87610 100644 --- a/ui/app/models/role-aws.js +++ b/ui/app/models/role-aws.js @@ -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]);