SYSTEM$DESC_ICEBERG_ACCESS_IDENTITY
functionsupportedIceberg & external tablesReturns information about the Snowflake service principal for a specified external cloud provider in an account.
Syntax
supportedpartialnot supportednot scored
SYSTEM$DESC_ICEBERG_ACCESS_IDENTITY(
'<cloud_storage_provider>' [ , '<account_name>' ] )
Parameters
| Name | Required | Description |
|---|---|---|
'cloud_storage_provider' | required | Specifies the cloud provider to retrieve service principal information for. You can specify one of the following values for this argument: 'S3' 'GCS' 'AZURE' |
'account_name' | optional | Optionally specifies the name of the Snowflake account for which you want to retrieve the service principal information. If specified, you must use the value in the account_name column returned by the SHOW REPLICATION ACCOUNTS command. If not specified, the function returns information for the current account. |
Returns
The function returns a JSON object containing the following name/value pairs: S3 Where: GCS Where: AZURE Where:
Usage notes
- Only returns results for account administrators (users with the ACCOUNTADMIN role).