Skip to contents

Creates and returns a token for a user. If this call is made through token authentication, it creates a token with the same client ID as the authenticated token. If the user's token quota is exceeded, this call returns an error QUOTA_EXCEEDED.

Usage

create_token(client, comment = NULL, lifetime_seconds = NULL)

tokensCreate(client, comment = NULL, lifetime_seconds = NULL)

Arguments

client

Required. Instance of DatabricksClient()

comment

Optional description to attach to the token.

lifetime_seconds

The lifetime of the token, in seconds.