POST /jwtserverprofile
/jwtserverprofile
Avi Tenant Header
Avi Tenant Header UUID
The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
JWTServerProfile object creation
Show optional properties
{
"name": "string"
}
{
"_last_modified": "string",
"configpb_attributes": {
"version": 0
},
"controller_internal_auth": {
"symmetric_jwks_keys": [
{
"alg": "string",
"key": "string",
"kid": "string",
"kty": "string"
}
]
},
"is_federated": false,
"issuer": "string",
"jwks_keys": "string",
"jwt_profile_type": "string",
"name": "string",
"tenant_ref": "string",
"url": "string",
"uuid": "string"
}
OK
"JWTServerProfile Object"
UNIX time since epoch in microseconds. Units(MICROSECONDS).
configpb_attributes
controller_internal_auth
This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster. If the field is set to true, then the object is replicated across the federation. . Field introduced in 20.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Uniquely identifiable name of the Token Issuer, only allowed with profile_type CLIENT_AUTH. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
JWKS key set used for validating the JWT, only allowed with profile_type CLIENT_AUTH. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Type of JWT Server profile which defines the usage type. Enum options - CLIENT_AUTH, CONTROLLER_INTERNAL_AUTH. Field introduced in 20.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Name of the JWT Profile. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
UUID of the Tenant. It is a reference to an object of type Tenant. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
url
UUID of the JWTProfile. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
log in failed
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string"}' https://{api_host}/api/jwtserverprofile