Skip to main content
Version: cicd.4.0 print this page

SAML Role Mapping

A SAML Role mapping is a way of assigning a SAML Group with a role in Amorphic application.

Below is the sample resource definition file for SAML Role Mapping:

{
"rSAMLRoleMapping": {
"Type": "SAMLRoleMapping",
"Properties": {
"SamlGroupId": "cicd_admins",
"RoleId": {
"!DependsOn": "rRole.RoleId"
}
}
}
}
Note: Deployment dependencies

SAMLRoleMapping has dependencies on Role and Tag.

Dependent resources should not be deleted before the primary resource; attempting to do so may lead to failures or inconsistencies during the deletion process.

Referencing this Resource

Below are the common keys that can be used in the DependsOn function to retrieve details of this resource.

Supported Key

KeyDescription
SamlGroupIdReturns the SamlGroupId value of this resource

For additional supported keys, refer to the API definition document for the respective resource type.

Example

To reference this schedule from another resource, use !DependsOn with logical name and property in the format <logicalResourceName>.<PropertyName>.

Example: {"!DependsOn": "rSAMLRoleMapping.SamlGroupId"}