File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -291,6 +291,23 @@ message Task {
291291// An Environment describes a collection of environment variables to set when
292292// executing Tasks.
293293message Environment {
294+ message KMSEnvMap {
295+ // The name of the KMS key that will be used to decrypt the cipher text.
296+ string key_name = 1 ;
297+
298+ // The value of the cipherText response from the `encrypt` method.
299+ string cipher_text = 2 ;
300+ }
301+
294302 // A map of environment variable names to values.
295303 map <string , string > variables = 1 ;
304+
305+ // A map of environment variable names to Secret Manager secret names.
306+ // The VM will access the named secrets to set the value of each environment
307+ // variable.
308+ map <string , string > secret_variables = 2 ;
309+
310+ // An encrypted JSON dictionary where the key/value pairs correspond to
311+ // environment variable names and their values.
312+ KMSEnvMap encrypted_variables = 3 ;
296313}
You can’t perform that action at this time.
0 commit comments