A newer version is available. For the latest information, see the
current release documentation.
EnrollmentTokenRequest
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
EnrollmentTokenRequest
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(integerasint32) - 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
}