Post
/api/paps/{papId}/session-attributes
Security
HTTP
Type bearer
Path parameters
papId
stringRequired
Profile id
Body parameters
{
"attributeSchemaId": "89zu0rj78d0xqs5j2063",
"mappingName": "cost-center",
"transitive": true,
"sessionAttributeType": "Identity",
"attributeValue": "IT"
}
object
id
string
attributeSchemaId
string
The id of the identity attribute. This is not required if sessionAttributeType is Static.
mappingName
string
The name of the attribute that should be included in the request to AWS, during profile checkout. This name should match the tag name defined in your AWS roles.
transitive
boolean
To allow role chaining, set the value to true.
sessionAttributeType
string
Valid values[
"Identity",
"Static"
]
attributeValue
string
If the sessionAttributetype value is Static, then the attributeValue should not be empty.
Responses
200
OK
object