RoleMapper
Create a RoleMapper Resource
new RoleMapper(name: string, args: RoleMapperArgs, opts?: CustomResourceOptions);def RoleMapper(resource_name, opts=None, client_id=None, ldap_roles_dn=None, ldap_user_federation_id=None, memberof_ldap_attribute=None, membership_attribute_type=None, membership_ldap_attribute=None, membership_user_ldap_attribute=None, mode=None, name=None, realm_id=None, role_name_ldap_attribute=None, role_object_classes=None, roles_ldap_filter=None, use_realm_roles_mapping=None, user_roles_retrieve_strategy=None, __props__=None);func NewRoleMapper(ctx *Context, name string, args RoleMapperArgs, opts ...ResourceOption) (*RoleMapper, error)public RoleMapper(string name, RoleMapperArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args RoleMapperArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RoleMapperArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RoleMapperArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
RoleMapper Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The RoleMapper resource accepts the following input properties:
- Ldap
Roles stringDn - Ldap
User stringFederation Id The ldap user federation provider to attach this mapper to.
- Membership
Ldap stringAttribute - Membership
User stringLdap Attribute - Realm
Id string The realm in which the ldap user federation provider exists.
- Role
Name stringLdap Attribute - Role
Object List<string>Classes - Client
Id string - Memberof
Ldap stringAttribute - Membership
Attribute stringType - Mode string
- Name string
Display name of the mapper when displayed in the console.
- Roles
Ldap stringFilter - Use
Realm boolRoles Mapping - User
Roles stringRetrieve Strategy
- Ldap
Roles stringDn - Ldap
User stringFederation Id The ldap user federation provider to attach this mapper to.
- Membership
Ldap stringAttribute - Membership
User stringLdap Attribute - Realm
Id string The realm in which the ldap user federation provider exists.
- Role
Name stringLdap Attribute - Role
Object []stringClasses - Client
Id string - Memberof
Ldap stringAttribute - Membership
Attribute stringType - Mode string
- Name string
Display name of the mapper when displayed in the console.
- Roles
Ldap stringFilter - Use
Realm boolRoles Mapping - User
Roles stringRetrieve Strategy
- ldap
Roles stringDn - ldap
User stringFederation Id The ldap user federation provider to attach this mapper to.
- membership
Ldap stringAttribute - membership
User stringLdap Attribute - realm
Id string The realm in which the ldap user federation provider exists.
- role
Name stringLdap Attribute - role
Object string[]Classes - client
Id string - memberof
Ldap stringAttribute - membership
Attribute stringType - mode string
- name string
Display name of the mapper when displayed in the console.
- roles
Ldap stringFilter - use
Realm booleanRoles Mapping - user
Roles stringRetrieve Strategy
- ldap_
roles_ strdn - ldap_
user_ strfederation_ id The ldap user federation provider to attach this mapper to.
- membership_
ldap_ strattribute - membership_
user_ strldap_ attribute - realm_
id str The realm in which the ldap user federation provider exists.
- role_
name_ strldap_ attribute - role_
object_ List[str]classes - client_
id str - memberof_
ldap_ strattribute - membership_
attribute_ strtype - mode str
- name str
Display name of the mapper when displayed in the console.
- roles_
ldap_ strfilter - use_
realm_ boolroles_ mapping - user_
roles_ strretrieve_ strategy
Outputs
All input properties are implicitly available as output properties. Additionally, the RoleMapper resource produces the following output properties:
Look up an Existing RoleMapper Resource
Get an existing RoleMapper resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RoleMapperState, opts?: CustomResourceOptions): RoleMapperstatic get(resource_name, id, opts=None, client_id=None, ldap_roles_dn=None, ldap_user_federation_id=None, memberof_ldap_attribute=None, membership_attribute_type=None, membership_ldap_attribute=None, membership_user_ldap_attribute=None, mode=None, name=None, realm_id=None, role_name_ldap_attribute=None, role_object_classes=None, roles_ldap_filter=None, use_realm_roles_mapping=None, user_roles_retrieve_strategy=None, __props__=None);func GetRoleMapper(ctx *Context, name string, id IDInput, state *RoleMapperState, opts ...ResourceOption) (*RoleMapper, error)public static RoleMapper Get(string name, Input<string> id, RoleMapperState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Client
Id string - Ldap
Roles stringDn - Ldap
User stringFederation Id The ldap user federation provider to attach this mapper to.
- Memberof
Ldap stringAttribute - Membership
Attribute stringType - Membership
Ldap stringAttribute - Membership
User stringLdap Attribute - Mode string
- Name string
Display name of the mapper when displayed in the console.
- Realm
Id string The realm in which the ldap user federation provider exists.
- Role
Name stringLdap Attribute - Role
Object List<string>Classes - Roles
Ldap stringFilter - Use
Realm boolRoles Mapping - User
Roles stringRetrieve Strategy
- Client
Id string - Ldap
Roles stringDn - Ldap
User stringFederation Id The ldap user federation provider to attach this mapper to.
- Memberof
Ldap stringAttribute - Membership
Attribute stringType - Membership
Ldap stringAttribute - Membership
User stringLdap Attribute - Mode string
- Name string
Display name of the mapper when displayed in the console.
- Realm
Id string The realm in which the ldap user federation provider exists.
- Role
Name stringLdap Attribute - Role
Object []stringClasses - Roles
Ldap stringFilter - Use
Realm boolRoles Mapping - User
Roles stringRetrieve Strategy
- client
Id string - ldap
Roles stringDn - ldap
User stringFederation Id The ldap user federation provider to attach this mapper to.
- memberof
Ldap stringAttribute - membership
Attribute stringType - membership
Ldap stringAttribute - membership
User stringLdap Attribute - mode string
- name string
Display name of the mapper when displayed in the console.
- realm
Id string The realm in which the ldap user federation provider exists.
- role
Name stringLdap Attribute - role
Object string[]Classes - roles
Ldap stringFilter - use
Realm booleanRoles Mapping - user
Roles stringRetrieve Strategy
- client_
id str - ldap_
roles_ strdn - ldap_
user_ strfederation_ id The ldap user federation provider to attach this mapper to.
- memberof_
ldap_ strattribute - membership_
attribute_ strtype - membership_
ldap_ strattribute - membership_
user_ strldap_ attribute - mode str
- name str
Display name of the mapper when displayed in the console.
- realm_
id str The realm in which the ldap user federation provider exists.
- role_
name_ strldap_ attribute - role_
object_ List[str]classes - roles_
ldap_ strfilter - use_
realm_ boolroles_ mapping - user_
roles_ strretrieve_ strategy
Package Details
- Repository
- https://github.com/pulumi/pulumi-keycloak
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
keycloakTerraform Provider.