Authentication

POST /update-auth-method-gcp

Request

  • Base URL
    https://api.akeyless.io
  • URL
    https://api.akeyless.io/update-auth-method-gcp
  • Auth
    none declared

Request body

access-expiresinteger

Access expiration date in Unix timestamp (select 0 for access without expiry date)

allowed-client-typestring[]

limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]

audiencestring required

The audience to verify in the JWT received by the client

audit-logs-claimsstring[]

Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"

bound-ipsstring[]

A CIDR whitelist with the IPs that the access is restricted to

bound-labelsstring[]

A comma-separated list of GCP labels formatted as "key:value" strings that must be set on authorized GCE instances. TODO: Because GCP labels are not currently ACL'd ....

bound-projectsstring[]

=== Human and Machine authentication section === Array of GCP project IDs. Only entities belonging to any of the provided projects can authenticate.

bound-regionsstring[]

List of regions that a GCE instance must belong to in order to be authenticated. TODO: If bound_instance_groups is provided, it is assumed to be a regional group and the group must belong to this region. If bound_zones are provided, this attribute is ignored.

bound-service-accountsstring[]

List of service accounts the service account must be part of in order to be authenticated.

bound-zonesstring[]

=== Machine authentication section === List of zones that a GCE instance must belong to in order to be authenticated. TODO: If bound_instance_groups is provided, it is assumed to be a zonal group and the group must belong to this zone.

delete_protectionstring

Protection from accidental deletion of this object [true/false]

descriptionstring

Auth Method description

expiration-event-instring[]

How many days before the expiration of the auth method would you like to be notified.

force-sub-claimsboolean

if true: enforce role-association must include sub claims

gw-bound-ipsstring[]

A CIDR whitelist with the GW IPs that the access is restricted to

jsonboolean

Set output format to JSON

jwt-ttlinteger

Jwt TTL

namestring required

Auth Method name

new-namestring

Auth Method new name

product-typestring[]

Choose the relevant product type for the auth method [sm, sra, pm, dp, ca, ara]

service-account-creds-datastring

ServiceAccount credentials data instead of giving a file path, base64 encoded

tokenstring

Authentication token (see /auth and /configure)

typestring required

Type of the GCP Access Rules

uid-tokenstring

The universal identity token, Required only for universal_identity authentication

unique-identifierstring

A unique identifier (ID) value which is a "sub claim" name that contains details uniquely identifying that resource. This "sub claim" is used to distinguish between different identities.

Response

updateAuthMethodGCPResponse wraps response body.

UpdateAuthMethodGCPOutput required

Changes

No recorded changes to this operation across all 1 revision of this API.