- Schema:
For guidance on query performance when using organization-wide usage views, see Performance (Organization Usage).
TRI_ SECRET_ SECURE_ HISTORY view¶
Important
This view is only available in the organization account. For more information, see Premium views in the organization account.
Organization Usage performance
When you query a specific view in the SNOWFLAKE.ORGANIZATION_USAGE schema, follow the organization-wide guidance in
Performance (Organization Usage): bound every scan on history views, list
columns explicitly, and use the time filter column table plus worked SQL and anti-patterns there.
This Organization Usage view provides information about Tri-Secret Secure customer-managed keys (CMKs) for accounts in your organization within the last year (365 days).
Columns¶
Organization-level columns
| Column Name | Data Type | Description |
|---|---|---|
| ORGANIZATION_NAME | VARCHAR | Name of the organization. |
| ACCOUNT_LOCATOR | VARCHAR | System-generated identifier for the account. |
| ACCOUNT_NAME | VARCHAR | User-defined identifier for the account. |
Additional columns
| Column name | Data type | Description |
|---|---|---|
| ID | NUMBER | System-generated ID that uniquely identifies a CMK used in the account. |
| REGISTERED_BY_USER_ID | NUMBER | Identifies the user who registered the CMK. Also appears in the ACCOUNT_USAGE view if a customer self-registered the CMK. |
| CMK_ACTIVATION_STATUS | VARCHAR | Activation status of the CMK. Valid values are:
|
| CMK_IDENTIFIER | VARCHAR | Displays a value that you can use to locate your customer managed key. For example:
|
| IS_REGISTERED | BOOLEAN | Whether the key represented by the CMK identifier is registered or not. |
| REGISTERED_ON | TIMESTAMP_LTZ | Identifies the last time when a user registered the CMK. |
| ACTIVATED_ON | TIMESTAMP_LTZ | Identifies the last time when a user activated the CMK. |
| DISABLED_ON | TIMESTAMP_LTZ | Identifies the last time when a user disabled the CMK. |
| UPDATED_ON | TIMESTAMP_LTZ | Identifies the time of the last update to this view. |
Usage notes¶
- Latency for the view may be up to 24 hours.
- This view only returns rows for accounts with the Business Critical or Virtual Private Snowflake (VPS) service level.
Examples¶
Retrieve all Tri-Secret Secure history records for accounts in your organization: