Categories:

System Functions (System Information)

SYSTEM$GENERATE_SCIM_ACCESS_TOKEN

Returns a new SCIM access token that is valid for six months.

Syntax

SYSTEM$GENERATE_SCIM_ACCESS_TOKEN('<integration_name>')

Arguments

<integration_name>

Name of the security integration where TYPE = SCIM. Note that the integration name is case-sensitive, must be uppercase, and be enclosed in single quotes.

For more information, see CREATE SECURITY INTEGRATION.

Usage Notes

  • To invalidate an existing access token for a SCIM integration, execute a DROP INTEGRATION statement.

  • To continue using SCIM with Snowflake, recreate the SCIM integration with a CREATE OR REPLACE SECURITY INTEGRATION statement and generate a new access token using this system function.

Output

The function returns the SCIM access token as a string.

Examples

The following example retrieves the SCIM access token for the specified integration:

SELECT SYSTEM$GENERATE_SCIM_ACCESS_TOKEN('OKTA_PROVISIONING');