vcenter identity providers: oidc create spec
The
oidc_create_spec
structure contains the information used to create an OIDC identity provider. This structure was added in vSphere API 7.0.0.0.Representation:
{
"claim_map" : {
"<string>" : {
"<string>" : [
"string",
"string"
]
}
},
"client_secret" : "string",
"discovery_endpoint" : "http://myurl.com",
"client_id" : "string"
}
"claim_map" : {
"<string>" : {
"<string>" : [
"string",
"string"
]
}
},
"client_secret" : "string",
"discovery_endpoint" : "http://myurl.com",
"client_id" : "string"
}
{
"claim_map" : [
{
"value" : [
{
"value" : [
"string",
"string"
],
"key" : "string"
}
],
"key" : "string"
}
],
"client_secret" : "string",
"discovery_endpoint" : "http://myurl.com",
"client_id" : "string"
}
"claim_map" : [
{
"value" : [
{
"value" : [
"string",
"string"
],
"key" : "string"
}
],
"key" : "string"
}
],
"client_secret" : "string",
"discovery_endpoint" : "http://myurl.com",
"client_id" : "string"
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
-.discovery_endpoint | URI | Endpoint to retrieve the provider metadata. This attribute was added in vSphere API 7.0.0.0. |
-.client_id | string | Client identifier to connect to the provider. This attribute was added in vSphere API 7.0.0.0. |
-.client_secret | string | The secret shared between the client and the provider. This attribute was added in vSphere API 7.0.0.0. |
-.claim_map | object | 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. This attribute was added in vSphere API 7.0.0.0. Object with element values of type object. |
-.claim_map.* | object | Object with element values of type string[]. |
-.claim_map.*.* | string[] |
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
discovery_endpoint | URI | Endpoint to retrieve the provider metadata. This attribute was added in vSphere API 7.0.0.0. |
client_id | string | Client identifier to connect to the provider. This attribute was added in vSphere API 7.0.0.0. |
client_secret | string | The secret shared between the client and the provider. This attribute was added in vSphere API 7.0.0.0. |
claim_map | list | 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. This attribute was added in vSphere API 7.0.0.0. List of {"key": string, "value": list} |
claim_map[].key | string | |
claim_map[].value | list | List of {"key": string, "value": string[]} |
claim_map[].value[].key | string | |
claim_map[].value[].value | string[] |