Skip to main content

RECIPIENT_TOKENS

Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime 10.4 LTS and above

INFORMATION_SCHEMA.RECIPIENT_TOKENS lists tokens for open recipients.

Information is displayed only for recipients the user has permission to interact with.

This is an extension to the SQL Standard Information Schema.

Definition

The RECIPIENT_TOKENS relation contains the following columns:

NameData typeNullableDescription
RECIPIENT_NAMESTRINGNoName of the recipient.
RECIPIENT_TOKEN_IDSTRINGNoID of the recipient token.
ACTIVATION_URLSTRINGYesFull activation URL used to retrieve the recipient token. It will be null if the token is already retrieved.
EXPIRATION_TIMETIMESTAMPNoExpiration timestamp of the recipient token.
CREATEDTIMESTAMPNoTimestamp when the recipient token was created.
CREATED_BYSTRINGNoPrincipal who created the recipient token.
LAST_ALTEREDTIMESTAMPNoTimestamp when the recipient token was last altered in any way.
LAST_ALTERED_BYSTRINGNoPrincipal who last altered the recipient token.

Constraints

The following constraints apply to the RECIPIENT_TOKENS relation:

ClassNameColumn ListDescription
Primary keyRECIPIENT_TOKENS_PKRECIPIENT_TOKEN_IDUnique identifier for the recipient token.
Foreign keyTOKENS_RECIPIENTS_FKRECIPIENT_NAMEReferences RECIPIENTS

Examples

SQL
> SELECT recipient_name, activation_url
FROM information_schema.recipient_tokens