assocRoleAuthMethod is a command that creates an association between role and auth method.
Name | Type | Description | Notes |
---|---|---|---|
am_name | str | The auth method to associate | |
case_sensitive | str | Treat sub claims as case-sensitive [true/false] | [optional] [default to 'true'] |
var_json | bool | Set output format to JSON | [optional] [default to False] |
role_name | str | The role to associate | |
sub_claims | Dict[str, str] | key/val of sub claims, e.g group=admins,developers | [optional] |
token | str | Authentication token (see `/auth` and `/configure`) | [optional] |
uid_token | str | The universal identity token, Required only for universal_identity authentication | [optional] |
from akeyless.models.assoc_role_auth_method import AssocRoleAuthMethod
# TODO update the JSON string below
json = "{}"
# create an instance of AssocRoleAuthMethod from a JSON string
assoc_role_auth_method_instance = AssocRoleAuthMethod.from_json(json)
# print the JSON string representation of the object
print(AssocRoleAuthMethod.to_json())
# convert the object into a dict
assoc_role_auth_method_dict = assoc_role_auth_method_instance.to_dict()
# create an instance of AssocRoleAuthMethod from a dict
assoc_role_auth_method_from_dict = AssocRoleAuthMethod.from_dict(assoc_role_auth_method_dict)