Difference between revisions of "Gcloud kms"

From wikieduonline
Jump to navigation Jump to search
 
(15 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
* https://cloud.google.com/sdk/gcloud/reference/kms
 
* https://cloud.google.com/sdk/gcloud/reference/kms
  
<pre>
 
gcloud kms
 
ERROR: (gcloud.kms) Command name argument expected.
 
  
Available groups for gcloud kms:
+
* <code>[[gcloud kms asymmetric-decrypt]]</code>      Decrypt an input file using an asymmetric-encryption key version.
 +
* <code>gcloud kms asymmetric-sign</code>        Sign a user input file using an asymmetric-signing key version.
 +
* <code>gcloud kms decrypt</code>                Decrypt a ciphertext file using a Cloud KMS key.
 +
* <code>[[gcloud kms encrypt]]</code>                Encrypt a plaintext file using a key.
 +
* <code>gcloud kms mac-sign</code>                Sign a user input file using a MAC key version.
 +
* <code>gcloud kms mac-verify</code>              Verify a user signature file using a MAC key version.
 +
* <code>[[gcloud kms --help]]</code>
  
      ekm-connections        Create and manage ekm connections.
+
* <code>[[gcloud kms keyrings create you-keyring]]</code>
      import-jobs            Create and manage import jobs.
+
* <code>[[gcloud kms keys list --location global --keyring your-sops-keyring]]</code>
      keyrings                Create and manage keyrings.
 
      keys                    Create and manage keys.
 
      locations              View locations available for a project.
 
 
 
Available commands for gcloud kms:
 
 
 
      asymmetric-decrypt      Decrypt an input file using an
 
                              asymmetric-encryption key version.
 
      asymmetric-sign        Sign a user input file using an asymmetric-signing
 
                              key version.
 
      decrypt                Decrypt a ciphertext file using a Cloud KMS key.
 
      encrypt                Encrypt a plaintext file using a key.
 
      mac-sign                Sign a user input file using a MAC key version.
 
      mac-verify              Verify a user signature file using a MAC key
 
                              version.
 
 
 
For detailed information on this command and its flags, run:
 
  gcloud kms --help
 
</pre>
 
  
 
== Related ==
 
== Related ==
 
* <code>[[aws kms]]</code>
 
* <code>[[aws kms]]</code>
 
* [[Google Cloud Key Management (KMS)]]
 
* [[Google Cloud Key Management (KMS)]]
 +
* <code>[[gcloud auth application-default login]]</code>
 +
* [[SOPS GCP KMS]]: <code>[[sops --encrypt --gcp-kms]]</code>
  
 
== See also ==
 
== See also ==
 
* {{gcloud kms}}
 
* {{gcloud kms}}
* {{gcloud}}
+
* {{KMS}}
  
 
[[Category:GCP]]
 
[[Category:GCP]]

Latest revision as of 08:52, 22 November 2022


  • gcloud kms asymmetric-decrypt Decrypt an input file using an asymmetric-encryption key version.
  • gcloud kms asymmetric-sign Sign a user input file using an asymmetric-signing key version.
  • gcloud kms decrypt Decrypt a ciphertext file using a Cloud KMS key.
  • gcloud kms encrypt Encrypt a plaintext file using a key.
  • gcloud kms mac-sign Sign a user input file using a MAC key version.
  • gcloud kms mac-verify Verify a user signature file using a MAC key version.
  • gcloud kms --help

Related[edit]

See also[edit]

Advertising: