/auth-method-update-gcp

Body Params
int64
Defaults to 0

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

allowed-client-type
array of strings

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

allowed-client-type
string
required
Defaults to akeyless.io

The audience to verify in the JWT received by the client

audit-logs-claims
array of strings

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

audit-logs-claims
bound-ips
array of strings

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

bound-ips
bound-labels
array of strings

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-labels
bound-projects
array of strings

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

bound-projects
bound-regions
array of strings

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-regions
bound-service-accounts
array of strings

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

bound-service-accounts
bound-zones
array of strings

=== 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.

bound-zones
string

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

string

Auth Method description

expiration-event-in
array of strings

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

expiration-event-in
boolean

if true: enforce role-association must include sub claims

gw-bound-ips
array of strings

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

gw-bound-ips
boolean
Defaults to false

Set output format to JSON

int64
Defaults to 0

Jwt TTL

string
required

Auth Method name

string

Auth Method new name

product-type
array of strings

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

product-type
string

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

string

Authentication token (see /auth and /configure)

string
required

Type of the GCP Access Rules

string

The universal identity token, Required only for universal_identity authentication

string

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.

Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
Footer Section