Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

codefresh-contrib/google-kms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Сodefresh Google KMS plugin

This plugin facilitates work with Google Key Management Service for such operations like encrypting and decrypting

Usage

kms [OPERATION] [VALUE_1] [VALUE_n...]

Set the plugin required environment variables for the pipeline and use the plugin as a freestyle step with a command like:

GoogleKMS:
    image: codefresh/google-kms
    commands: 
      - kms encrypt VALUE_1 VALUE_n

where VALUE_1 and VALUE_n are the names of the environment variables containing the values you need to encrypt or decrypt.

The operation is mutable and when the step finishes the variables with the same names will contain encrypted values. For decryption the process is similar

Required environment variables

  • KMS_PROJECT - GCP project name in which your KMS entities are present
  • KMS_LOCATION - Google KMS location
  • KMS_KEYRING - Google KMS keyring
  • KMS_KEY - Google KMS key
  • GCP_SA_KEY - Google Service Account Key (JSON)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published