Update a trusted IdP
Changed onReplace a trusted IdP for a given directory. The request body is the full representation; omitted optional fields are reset to their defaults.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
ID of the directory
Unique identifier of the trusted idp for the vault
Request body
Replacement representation of a trusted IdP. This operation replaces the stored configuration: display_name, jwks_uri and the jit mapping are cleared when omitted, and jit_provisioning_enabled and vault_access_enabled reset to their defaults (true and false) when omitted. To change only some fields, use the patch operation instead.
The issuer URL of the trusted IdP. Unique per vault.
A human-friendly display name for the trusted IdP, distinct from its unique issuer_url.
JWKS URI of the trusted IdP. Overrides OIDC discovery when set.
Whether a principal is provisioned just-in-time on first exchange when no principal matches the subject_token's issuer and its identifier claim — sub by default, or the claim jit.mapping.identifier names.
Whether vault token exchange is enabled for principals provisioned by this trusted IdP. Defaults to false; it can be set on create, is reset to false when omitted in the replace operation, and can be changed via the patch operation.
Just-in-time provisioning configuration for this trusted IdP. The mapping decides how the OIDC claims a client presents to fetch-principal shape a principal provisioned just in time.
Example request
{
"issuer_url": "https://acme.okta.com/oauth2/default",
"jwks_uri": "https://acme.okta.com/oauth2/default/v1/keys",
"jit": {
"mapping": {
"metadata": {
"department": "department"
},
"email": "email",
"groups": "groups",
"display_name": "name",
"identifier": "oid"
}
}
}Response
A trusted IdP
A trusted external IdP for a token-vault enabled directory.
The ID of the trusted IdP.
The issuer URL of the trusted IdP. Unique per vault.
A human-friendly display name for the trusted IdP, distinct from its unique issuer_url.
JWKS URI of the trusted IdP. Overrides OIDC discovery when set.
Whether a principal is provisioned just-in-time on first exchange when no principal matches the subject_token's issuer and its identifier claim — sub by default, or the claim jit.mapping.identifier names.
Whether vault token exchange is enabled for principals provisioned by this trusted IdP. Defaults to false; it can be set on create, is reset to false when omitted in the replace operation, and can be changed via the patch operation.
Just-in-time provisioning configuration for this trusted IdP. The mapping decides how the OIDC claims a client presents to fetch-principal shape a principal provisioned just in time.
An ISO-8601 timestamp representation of entity creation date.
An ISO-8601 timestamp representation of entity update date.
Example response
{
"issuer_url": "https://acme.okta.com/oauth2/default",
"jwks_uri": "https://acme.okta.com/oauth2/default/v1/keys",
"jit": {
"mapping": {
"metadata": {
"department": "department"
},
"email": "email",
"groups": "groups",
"display_name": "name",
"identifier": "oid"
}
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- info
added the new optional request property
jit/mapping/identifier - info
added the optional property
jit/mapping/identifierto the response with the status
- info
- info
endpoint added
- info