Skip to content

Latest commit

 

History

History
54 lines (48 loc) · 2.81 KB

CreateAuthMethodEmail.md

File metadata and controls

54 lines (48 loc) · 2.81 KB

Akeyless::CreateAuthMethodEmail

Properties

Name Type Description Notes
access_expires Integer Access expiration date in Unix timestamp (select 0 for access without expiry date) [optional][default to 0]
allowed_client_type Array<String> limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension] [optional]
audit_logs_claims Array<String> Subclaims to include in audit logs, e.g &quot;--audit-logs-claims email --audit-logs-claims username&quot; [optional]
bound_ips Array<String> A CIDR whitelist with the IPs that the access is restricted to [optional]
delete_protection String Protection from accidental deletion of this object [true/false] [optional]
description String Auth Method description [optional]
email String An email address to be invited to have access
enable_mfa String Enable MFA for this authentication method [True / False] [optional]
expiration_event_in Array<String> How many days before the expiration of the auth method would you like to be notified. [optional]
force_sub_claims Boolean if true: enforce role-association must include sub claims [optional]
gw_bound_ips Array<String> A CIDR whitelist with the GW IPs that the access is restricted to [optional]
json Boolean Set output format to JSON [optional][default to false]
jwt_ttl Integer Jwt TTL [optional][default to 0]
mfa_type String Enable two-factor-authentication via [email/auth app] [optional][default to 'email']
name String Auth Method name
owner String Auth Method owner (free text, up to 255 characters). On update, omit to keep the current owner and pass an empty value to clear it [optional]
product_type Array<String> Choose the relevant product type for the auth method [sm, sra, pm, dp, ca, ara] [optional]
token String Authentication token (see `/auth` and `/configure`) [optional]
uid_token String The universal identity token, Required only for universal_identity authentication [optional]

Example

require 'akeyless'

instance = Akeyless::CreateAuthMethodEmail.new(
  access_expires: null,
  allowed_client_type: null,
  audit_logs_claims: null,
  bound_ips: null,
  delete_protection: null,
  description: null,
  email: null,
  enable_mfa: null,
  expiration_event_in: null,
  force_sub_claims: null,
  gw_bound_ips: null,
  json: null,
  jwt_ttl: null,
  mfa_type: null,
  name: null,
  owner: null,
  product_type: null,
  token: null,
  uid_token: null
)