Difference between revisions of "KMS PATH"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
  [[gcloud kms keys list --location global --keyring sops]]
 
  [[gcloud kms keys list --location global --keyring sops]]
 +
NAME                                                                                          PURPOSE          ALGORITHM                 
 +
PROTECTION_LEVEL  LABELS  PRIMARY_ID  PRIMARY_STATE
 +
projects/your-project/locations/global/keyRings/sops/cryptoKeys/sops-encryption-key            ENCRYPT_DECRYPT  GOOGLE_SYMMETRIC_ENCRYPTION  HSM                     
 +
1          ENABLED
 +
projects/your-project/locations/global/keyRings/sops/cryptoKeys/sops-encryption-key-data-lake  ENCRYPT_DECRYPT  GOOGLE_SYMMETRIC_ENCRYPTION  HSM                     
 +
1          ENABLED
 +
projects/your-project/locations/global/keyRings/sops/cryptoKeys/sops-key                      ENCRYPT_DECRYPT  GOOGLE_SYMMETRIC_ENCRYPTION 
 +
SOFTWARE                  1          DESTROYED
  
  

Revision as of 10:32, 27 October 2022


gcloud kms keys list --location global --keyring sops
NAME                                                                                           PURPOSE          ALGORITHM                   
PROTECTION_LEVEL  LABELS  PRIMARY_ID  PRIMARY_STATE
projects/your-project/locations/global/keyRings/sops/cryptoKeys/sops-encryption-key            ENCRYPT_DECRYPT  GOOGLE_SYMMETRIC_ENCRYPTION  HSM                       
1           ENABLED
projects/your-project/locations/global/keyRings/sops/cryptoKeys/sops-encryption-key-data-lake  ENCRYPT_DECRYPT  GOOGLE_SYMMETRIC_ENCRYPTION  HSM                       
1           ENABLED
projects/your-project/locations/global/keyRings/sops/cryptoKeys/sops-key                       ENCRYPT_DECRYPT  GOOGLE_SYMMETRIC_ENCRYPTION  
SOFTWARE                  1           DESTROYED 


 sops --encrypt --gcp-kms $KMS_PATH secret.yaml > secret.enc.yaml

See also

Advertising: