Loading

stack es security activate-user-profile cli command

Auth required
elastic stack es security activate-user-profile \
  --grant-type <grant-type> \
  [options]
		

Activate a user profile.

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--grant-type enum required

The type of grant.

Values: password, access_token

--access-token string
The user's Elasticsearch access token or JWT. Both access and id JWT token types are supported and they depend on the underlying JWT realm configuration. If you specify the access_token grant type, this parameter is required. It is not valid with other grant types.
--password string
The user's password. If you specify the password grant type, this parameter is required. It is not valid with other grant types.
--username string
The username that identifies the user. If you specify the password grant type, this parameter is required. It is not valid with other grant types.
--input-file string
path to a JSON file to use as command input
--[no-]dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json

output as JSON