Skip to content

Commit 82d5d45

Browse files
author
AWS
committed
IAM Roles Anywhere Update: IAM RolesAnywhere now supports custom role session name on the CreateSession. This release adds the acceptRoleSessionName option to a profile to control whether a role session name will be accepted in a session request with a given profile.
1 parent 40b3802 commit 82d5d45

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "IAM Roles Anywhere",
4+
"contributor": "",
5+
"description": "IAM RolesAnywhere now supports custom role session name on the CreateSession. This release adds the acceptRoleSessionName option to a profile to control whether a role session name will be accepted in a session request with a given profile."
6+
}

services/rolesanywhere/src/main/resources/codegen-resources/service-2.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
"endpointPrefix":"rolesanywhere",
66
"jsonVersion":"1.1",
77
"protocol":"rest-json",
8+
"protocols":["rest-json"],
89
"serviceFullName":"IAM Roles Anywhere",
910
"serviceId":"RolesAnywhere",
1011
"signatureVersion":"v4",
1112
"signingName":"rolesanywhere",
12-
"uid":"rolesanywhere-2018-05-10"
13+
"uid":"rolesanywhere-2018-05-10",
14+
"auth":["aws.auth#sigv4"]
1315
},
1416
"operations":{
1517
"CreateProfile":{
@@ -537,6 +539,10 @@
537539
"roleArns"
538540
],
539541
"members":{
542+
"acceptRoleSessionName":{
543+
"shape":"Boolean",
544+
"documentation":"<p>Used to determine if a custom role session name will be accepted in a temporary credential request.</p>"
545+
},
540546
"durationSeconds":{
541547
"shape":"CreateProfileRequestDurationSecondsInteger",
542548
"documentation":"<p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the <a href=\"https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object\">CreateSession API documentation</a> page for more details. In requests, if this value is not provided, the default value will be 3600. </p>"
@@ -1059,6 +1065,10 @@
10591065
"ProfileDetail":{
10601066
"type":"structure",
10611067
"members":{
1068+
"acceptRoleSessionName":{
1069+
"shape":"Boolean",
1070+
"documentation":"<p>Used to determine if a custom role session name will be accepted in a temporary credential request.</p>"
1071+
},
10621072
"attributeMappings":{
10631073
"shape":"AttributeMappings",
10641074
"documentation":"<p>A mapping applied to the authenticating end-entity certificate.</p>"
@@ -1614,6 +1624,10 @@
16141624
"type":"structure",
16151625
"required":["profileId"],
16161626
"members":{
1627+
"acceptRoleSessionName":{
1628+
"shape":"Boolean",
1629+
"documentation":"<p>Used to determine if a custom role session name will be accepted in a temporary credential request.</p>"
1630+
},
16171631
"durationSeconds":{
16181632
"shape":"UpdateProfileRequestDurationSecondsInteger",
16191633
"documentation":"<p> Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code> section of the <a href=\"https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object\">CreateSession API documentation</a> page for more details. In requests, if this value is not provided, the default value will be 3600. </p>"

0 commit comments

Comments
 (0)