|
|
|
@ -291,6 +291,23 @@ message Task { |
|
|
|
|
// An Environment describes a collection of environment variables to set when |
|
|
|
|
// executing Tasks. |
|
|
|
|
message Environment { |
|
|
|
|
message KMSEnvMap { |
|
|
|
|
// The name of the KMS key that will be used to decrypt the cipher text. |
|
|
|
|
string key_name = 1; |
|
|
|
|
|
|
|
|
|
// The value of the cipherText response from the `encrypt` method. |
|
|
|
|
string cipher_text = 2; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// A map of environment variable names to values. |
|
|
|
|
map<string, string> variables = 1; |
|
|
|
|
|
|
|
|
|
// A map of environment variable names to Secret Manager secret names. |
|
|
|
|
// The VM will access the named secrets to set the value of each environment |
|
|
|
|
// variable. |
|
|
|
|
map<string, string> secret_variables = 2; |
|
|
|
|
|
|
|
|
|
// An encrypted JSON dictionary where the key/value pairs correspond to |
|
|
|
|
// environment variable names and their values. |
|
|
|
|
KMSEnvMap encrypted_variables = 3; |
|
|
|
|
} |
|
|
|
|