diff --git a/website/content/api-docs/secret/identity/mfa/duo.mdx b/website/content/api-docs/secret/identity/mfa/duo.mdx index c8baeae00287..f82dd7b9cbe9 100644 --- a/website/content/api-docs/secret/identity/mfa/duo.mdx +++ b/website/content/api-docs/secret/identity/mfa/duo.mdx @@ -17,10 +17,6 @@ This endpoint defines an MFA method of type Duo. - `id` `(string: "")` - Optional UUID to specify if updating an existing method. -- `mount_accessor` `(string: )` - The mount to tie this method to for use in automatic mappings. The mapping -uses the Name field of Aliases associated with this mount as the username in the mapping. This can - be from the current namespace or a child namespace. - - `username_template` `(string)` - A template string for mapping Identity names to MFA methods. Values to substitute should be placed in `{{}}`. For example, `"{{identity.entity.name}}"`. If blank, the Entity's Name field is used as-is. - `secret_key` `(string: )` - Secret key for Duo. @@ -37,7 +33,7 @@ uses the Name field of Aliases associated with this mount as the username in the ```json { - "mount_accessor": "auth_userpass_1793464a", + "username_template": "{{identity.entity.aliases.auth_userpass_1793464a.name}}", "secret_key": "BIACEUEAXI20BNWTEYXT", "integration_key": "8C7THtrIigh2rPZQMbguugt8IUftWhMRCOBzbuyz", "api_hostname": "api-2b5c39f5.duosecurity.com" @@ -93,11 +89,10 @@ $ curl \ "api_hostname": "api-2b5c39f5.duosecurity.com", "id": "4194659f-139b-400b-b5dd-86bfb726759d", "integration_key": "BIACEUEAXI20BNWTEYXT", - "mount_accessor": "auth_userpass_1793464a", "pushinfo": "", "secret_key": "8C7THtrIigh2rPZQMbguugt8IUftWhMRCOBzbuyz", "type": "duo", - "username_template": "", + "username_template": "{{identity.entity.aliases.auth_userpass_1793464a.name}}", "use_passcode": false } } diff --git a/website/content/api-docs/secret/identity/mfa/okta.mdx b/website/content/api-docs/secret/identity/mfa/okta.mdx index 388c9bc9fcee..f8938177bd42 100644 --- a/website/content/api-docs/secret/identity/mfa/okta.mdx +++ b/website/content/api-docs/secret/identity/mfa/okta.mdx @@ -17,10 +17,6 @@ This endpoint defines an MFA method of type Okta. - `id` `(string: "")` - Optional UUID to specify if updating an existing method. -- `mount_accessor` `(string: )` - The mount to tie this method to for use in automatic mappings. The mapping - will use the Name field of Aliases associated with this mount as the username in the mapping. Note that this can - be from the current namespace or a child namespace. - - `username_template` `(string)` - A format string for mapping Identity names to MFA method names. Values to substitute should be placed in `{{}}`. For example, `"{{identity.entity.name}}@example.com"`. If blank, the Entity's Name field is used as-is. - `org_name` `(string: )` - Name of the organization to be used in the Okta API. @@ -35,7 +31,7 @@ This endpoint defines an MFA method of type Okta. ```json { - "mount_accessor": "auth_userpass_1793464a", + "username_template": "{{identity.entity.aliases.auth_userpass_1793464a.name}}", "org_name": "dev-262778", "api_token": "0081u7KrReNkzmABZJAP2oDyIXccveqx9vIOEyCZDC" } @@ -89,11 +85,10 @@ $ curl \ "data": { "api_token": "0081u7KrReNkzmABZJAP2oDyIXccveqx9vIOEyCZDC", "id": "1db034b5-81f1-4a2b-8c2b-0f51ed0bd9fc", - "mount_accessor": "auth_userpass_1793464a", "name": "my_okta", "org_name": "dev-262778", "type": "okta", - "username_template": "" + "username_template": "{{identity.entity.aliases.auth_userpass_1793464a.name}}" } } ``` diff --git a/website/content/api-docs/secret/identity/mfa/pingid.mdx b/website/content/api-docs/secret/identity/mfa/pingid.mdx index e5b451100f45..40d4cec895d4 100644 --- a/website/content/api-docs/secret/identity/mfa/pingid.mdx +++ b/website/content/api-docs/secret/identity/mfa/pingid.mdx @@ -17,10 +17,6 @@ This endpoint defines an MFA method of type PingID. - `id` `(string: "")` - Optional UUID to specify if updating an existing method. -- `mount_accessor` `(string: )` - The mount to tie this method to for use in automatic mappings. The mapping - will use the Name field of Aliases associated with this mount as the username in the mapping. Note that this can - be from the current namespace or a child namespace. - - `username_template` `(string)` - A template string for mapping Identity names to MFA method names. Values to substitute should be placed in `{{}}`. For example, `"{{identity.entity.name}}@example.com"`. If blank, the Entity's Name field is used as-is. - `settings_file_base64` `(string: )` - A base64-encoded third-party settings file retrieved from PingID's configuration page. @@ -29,7 +25,7 @@ This endpoint defines an MFA method of type PingID. ```json { - "mount_accessor": "auth_userpass_1793464a", + "username_template": "{{identity.entity.aliases.auth_userpass_1793464a.name}}", "settings_file_base64": "AA8owj3..." } ``` @@ -84,11 +80,10 @@ $ curl \ "idp_url": "https://idpxnyl3m.pingidentity.com/pingid", "admin_url": "https://idpxnyl3m.pingidentity.com/pingid", "authenticator_url": "https://authenticator.pingone.com/pingid/ppm", - "mount_accessor": "auth_userpass_1793464a", "id": "f8381105-67f0-4105-8662-4b07ae5c1233", "org_alias": "181459b0-9fb1-4938-8c86...", "type": "pingid", - "username_template": "" + "username_template": "{{identity.entity.aliases.auth_userpass_1793464a.name}}" } } ```