createAuthMethod is a command that creates a new auth method. [Deprecated: Use auth-method-create-api-key command]
Name | Type | Description | Notes |
---|---|---|---|
access_expires | int | Access expiration date in Unix timestamp (select 0 for access without expiry date) | [optional] [default to 0] |
audit_logs_claims | List[str] | Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username" | [optional] |
bound_ips | List[str] | A CIDR whitelist with the IPs that the access is restricted to | [optional] |
delete_protection | str | Protection from accidental deletion of this object [true/false] | [optional] |
description | str | Auth Method description | [optional] |
expiration_event_in | List[str] | How many days before the expiration of the auth method would you like to be notified. | [optional] |
force_sub_claims | bool | if true: enforce role-association must include sub claims | [optional] |
gw_bound_ips | List[str] | A CIDR whitelist with the GW IPs that the access is restricted to | [optional] |
var_json | bool | Set output format to JSON | [optional] [default to False] |
jwt_ttl | int | Jwt TTL | [optional] [default to 0] |
name | str | Auth Method name | |
product_type | List[str] | Choose the relevant product type for the auth method [sm, sra, pm, dp, ca] | [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.create_auth_method import CreateAuthMethod
# TODO update the JSON string below
json = "{}"
# create an instance of CreateAuthMethod from a JSON string
create_auth_method_instance = CreateAuthMethod.from_json(json)
# print the JSON string representation of the object
print(CreateAuthMethod.to_json())
# convert the object into a dict
create_auth_method_dict = create_auth_method_instance.to_dict()
# create an instance of CreateAuthMethod from a dict
create_auth_method_from_dict = CreateAuthMethod.from_dict(create_auth_method_dict)