EnrollmentTokenRequest
editEnrollmentTokenRequest
editAn enrollment token request for one or more services.
Properties
edit-
persistent
(boolean
, required) - Whether this token can subsequently to its grant be revoked from the UI
-
roles
(array[
string
)]
- The additional services for which this enrollment token applies (empty if not specified, ie system services only)
-
validity_in_seconds
(integer
asint32
) - The time in seconds for which this token is valid (defaults to 1 hour). Currently this can only be set for ephemeral (persistent: false) tokens.
Example
edit{ "persistent" : true, "roles" : [ "string" ], "validity_in_seconds" : 0 }