- Resource: AuthProvider
- AuthProviderTypeParams
- ThreeLeggedOAuth
- TwoLeggedOAuth
- ApiKeyParams
- GeminiEnterpriseAuthProviderParams
- State
- Methods
Resource: AuthProvider
Represents an auth provider.
| JSON representation |
|---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "authProviderTypeParams": { object ( |
| Fields | |
|---|---|
name |
Identifier. The full resource name of the auth provider. Format: projects/{project}/locations/{location}/authProviders/{authProvider} |
createTime |
Output only. The creation timestamp. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The update timestamp. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
labels |
Optional. Labels as key-value pairs. An object containing a list of |
authProviderTypeParams |
Required. Parameters specific to the auth provider type. |
allowedScopes[] |
Optional. List of scopes that are allowed to be requested for this auth provider. If this list is non-empty, only scopes within this list may be requested. If this list is empty, all scopes may be requested. Scopes appearing in |
blockedScopes[] |
Optional. List of scopes that are blocked from being requested for this auth provider. If a scope appears in this list, it will not be requested, even if it also appears in |
description |
Optional. Description of the resource. Must be less than 256 characters. |
deleted |
Output only. Set to |
expireTime |
Output only. The time when the auth provider will expire. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
state |
Output only. The state of the auth provider. |
workloadIds[] |
Optional. Input only. Identifiers for the agents that will use this auth provider, starting with |
AuthProviderTypeParams
Required. Parameters specific to the auth provider type.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field type. The auth provider type. type can be only one of the following: |
|
threeLeggedOauth |
Parameters for 3-legged OAuth (3LO) authentication. |
twoLeggedOauth |
Parameters for 2-legged OAuth (2LO) authentication. |
apiKey |
Parameters for API key authentication. |
geAuthProvider |
Parameters for Gemini Enterprise authentication. |
ThreeLeggedOAuth
Configuration for 3-legged OAuth (3LO) authentication.
| JSON representation |
|---|
{ "clientSecret": string, "clientId": string, "redirectUrl": string, "authorizationUrl": string, "tokenUrl": string, "enablePkce": boolean, "defaultContinueUri": string } |
| Fields | |
|---|---|
clientSecret |
Optional. Input only. The client secret of the OAuth client. |
clientId |
Optional. The client ID of the OAuth client. |
redirectUrl |
Output only. The redirect URL this auth provider uses for the OAuth exchange. This is deterministic based on the name of the auth provider. |
authorizationUrl |
Optional. The authorization endpoint to send users to for consenting to delegate to the agent. For example, "https://auth.atlassian.com/authorize". |
tokenUrl |
Optional. The token endpoint for requesting tokens on behalf of an end user. For example, "https://auth.atlassian.com/oauth/token". |
enablePkce |
Optional. Enables Proof Key for Code Exchange (PKCE) for the OAuth flow to prevent authorization code interception attacks. |
defaultContinueUri |
Optional. The default continue URI for the 3LO flow, used when no continue URI is provided in the RetrieveCredentials request. |
TwoLeggedOAuth
Configuration for 2-legged OAuth (2LO) authentication.
| JSON representation |
|---|
{ "clientSecret": string, "clientId": string, "tokenUrl": string } |
| Fields | |
|---|---|
clientSecret |
Optional. Input only. The client secret of the OAuth client. |
clientId |
Optional. The client ID of the OAuth client. |
tokenUrl |
Optional. The token endpoint of the OAuth client. |
ApiKeyParams
Configuration for API key authentication.
| JSON representation |
|---|
{ "apiKey": string } |
| Fields | |
|---|---|
apiKey |
Optional. Input only. The API key for this auth provider. |
GeminiEnterpriseAuthProviderParams
This type has no fields.
Configuration for Gemini Enterprise authentication.
State
Represents the state of the auth provider.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Unspecified state. |
ENABLED |
Enabled and can be used. |
DISABLED |
Disabled and cannot be used. |
Methods |
|
|---|---|
|
Creates a new auth provider in a given project and location. |
|
Deletes a single auth provider. |
|
Disables a single auth provider. |
|
Enables a single auth provider. |
|
Gets details of a single auth provider. |
|
Gets the access control policy for a resource. |
|
Lists auth providers in a given project and location. |
|
Updates the parameters of a single auth provider. |
|
Queries which auth providers are used by a given workload ID. |
|
Queries which workloads are using a given auth provider. |
|
Revokes all authorizations for a specific user on an auth provider. |
|
Sets the access control policy on the specified resource. |
|
Returns permissions that a caller has on the specified resource. |
|
Undeletes a single auth provider. |