Catégories :

Fonctions système (Informations système)

SYSTEM$GET_CMK_INFO

Returns the status of your customer-managed key (CMK) for use with Tri-Secret Secure.

Voir aussi :

Understanding CMK self-registration with support activation of Tri-Secret Secure

Syntaxe

SYSTEM$GET_CMK_INFO() 
Copy

Renvoie

Returns a status message indicating the state of your CMK. The output includes the values that you specified when calling SYSTEM$REGISTER_CMK_INFO. If you have enabled private connectivity, the staus message returned by SYSTEM$GET_CMK_INFO includes whether your CMK is privately connected.

Les messages suivants sont possibles, en utilisant des CMKs sur Amazon Web Services comme exemple représentatif :

  • Votre CMK est enregistrée, mais elle n’est pas encore autorisée à utiliser Tri-Secret Secure :

    CMK with ARN: arn:aws:kms:us-west-2:736112632310:key/ceab36e4-f0e5-4b46-9a78-86e8f17a0f59 is pre-registered for Tri-Secret Secure. 
  • Votre CMK est activée et utilisée avec Tri-Secret Secure :

    CMK with ARN: arn:aws:kms:us-west-2:736112632310:key/ceab36e4-f0e5-4b46-9a78-86e8f17a0f59 is activated for Tri-Secret Secure. 
  • Vous avez une CMK active, mais vous venez de préenregistrer une nouvelle clé :

    CMK with ARN: arn:aws:kms:us-west-2:736112632310:key/ceab36e4-f0e5-4b46-9a78-86e8f17a0f59 is activated with Tri-Secret Secure, but CMK with ARN: arn:aws:kms:us-west-2:481048248138:key/e08cb6c0-7c09-4f37-8e55-e395a12fe965 is pre-registered for Tri-Secret Secure. 
  • Vous avez une clé active, mais vous n’avez pas enregistré de CMK pour utiliser Tri-Secret Secure :

    CMK info has not been pre-registered in this account yet, but CMK arn:aws:kms:us-west-2:736112632310:key/ceab36e4-f0e5-4b46-9a78-86e8f17a0f59 is activated with Tri-Secret Secure. 
  • Vous n’avez pas enregistré de CMK pour utiliser Tri-Secret Secure :

    CMK info has not been pre-registered in this account yet. 
  • Votre CMK active est enregistrée avec une connectivité privée activée.

    CMK with ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab with PrivateLink enabled is activated for Tri-Secret Secure. 
  • Votre CMK active est enregistrée avec une connectivité privée non activée.

    CMK with ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab is activated for Tri-Secret Secure. 

Exigences en matière de contrôle d’accès

Seuls les administrateurs de comptes (c’est-à-dire les utilisateurs ayant le rôle ACCOUNTADMIN) ou un rôle bénéficiant du privilège MONITOR SECURITY peuvent appeler cette fonction.

Exemples

Obtenez le statut de la CMK pour votre compte Snowflake :

SELECT SYSTEM$GET_CMK_INFO(); 
Copy