IdentityProvidersOauth2UpdateSpec

The Providers.Oauth2UpdateSpec structure contains the information used to update the OAuth2 identity provider.


Properties

string as uri
auth_endpoint Optional

Authentication/authorization endpoint of the provider If unset, leaves value unchanged.


map of string
auth_query_params Optional

key/value pairs that are to be appended to the authEndpoint request. How to append to authEndpoint request: If the map is not empty, a “?” is added to the endpoint URL, and combination of each k and each string in the v is added with an “&” delimiter. Details: If the value contains only one string, then the key is added with “k=v”. If the value is an empty list, then the key is added without a “=v”. If the value contains multiple strings, then the key is repeated in the query-string for each string in the value. If the map is empty, deletes all params. If unset, leaves value unchanged.


authentication_method Optional

Authentication method used by the provider If unset, leaves value unchanged.

Possible values are: CLIENT_SECRET_BASICCLIENT_SECRET_POSTCLIENT_SECRET_JWTPRIVATE_KEY_JWT


map[string]map[string][]string
claim_map Optional

The map used to transform an OAuth2 claim to a corresponding claim that vCenter Server understands. Currently only the key “perms” is supported. The key “perms” is used for mapping the “perms” claim of incoming JWT. The value is another map with an external group as the key and a vCenter Server group as value. If unset, leaves value unchanged.


string
client_id Optional

Client identifier to connect to the provider If unset, leaves value unchanged.


string
client_secret Optional

Shared secret between identity provider and client If unset, leaves value unchanged.


string
issuer Optional

The identity provider namespace. It is used to validate the issuer in the acquired OAuth2 token If unset, leaves value unchanged.


string as uri
public_key_uri Optional

Endpoint to retrieve the provider public key for validation If unset, leaves value unchanged.


string as uri
token_endpoint Optional

Token endpoint of the provider. If unset, leaves value unchanged.

JSON Example

{
    "auth_endpoint": "string",
    "auth_query_params": {
        "key": "string"
    },
    "authentication_method": "enum",
    "client_id": "string",
    "client_secret": "string",
    "issuer": "string",
    "public_key_uri": "string",
    "token_endpoint": "string"
}
Feedback

Was this page helpful?