CREATE API_TOKEN
Syntax
CREATE API_TOKEN api_token_name WITH (api_token_parameter = value [, ...]);;Description
You can use an API_TOKEN for automated systems to access Deltastream. Use ALTER API_TOKEN command to refresh an existing API_TOKEN.
When you use an API_TOKEN, it assumes all roles and privileges of the role_name parameter.
Arguments
api_token_name
This specifies the name of the new API_TOKEN. This name is used only for managing the API token within the organization.
Token Parameters
Parameter Name
Description
token.role_name
Name of the role the token should use.
Required: Yes Type: String Valid values: See list of existing roles with LIST ROLES.
token.expires_in_days
Number of days until the token expires. Required: No Type: Integer Default: 90
Examples
Create a new API_TOKEN
The following creates an API_TOKEN named my_token.
Use an API_TOKEN with cli
Use an API_TOKEN with cli - env property
Last updated

