Skip to content

Latest commit

 

History

History
54 lines (48 loc) · 3.42 KB

AuthMethodCreateLdap.md

File metadata and controls

54 lines (48 loc) · 3.42 KB

Akeyless::AuthMethodCreateLdap

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]
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]
gen_key String Automatically generate key-pair for LDAP configuration. If set to false, a public key needs to be provided [true/false] [optional][default to 'true']
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]
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]
public_key_data String A public key generated for LDAP authentication method on Akeyless in base64 or PEM format [RSA2048] [optional]
token String Authentication token (see `/auth` and `/configure`) [optional]
uid_token String The universal identity token, Required only for universal_identity authentication [optional]
unique_identifier String A unique identifier (ID) value should be configured for OAuth2, LDAP and SAML authentication method types and is usually a value such as the email, username, or upn for example. Whenever a user logs in with a token, these authentication types issue a &quot;sub claim&quot; that contains details uniquely identifying that user. This sub claim includes a key containing the ID value that you configured, and is used to distinguish between different users from within the same organization. [optional][default to 'users']

Example

require 'akeyless'

instance = Akeyless::AuthMethodCreateLdap.new(
  access_expires: null,
  allowed_client_type: null,
  audit_logs_claims: null,
  bound_ips: null,
  delete_protection: null,
  description: null,
  expiration_event_in: null,
  force_sub_claims: null,
  gen_key: null,
  gw_bound_ips: null,
  json: null,
  jwt_ttl: null,
  name: null,
  owner: null,
  product_type: null,
  public_key_data: null,
  token: null,
  uid_token: null,
  unique_identifier: null
)