Struct google_cloudbuild1::Secret [−][src]
pub struct Secret { pub secret_env: Option<HashMap<String, String>>, pub kms_key_name: Option<String>, }
Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value.
This type is not used in any activity, and only used as part of another schema.
Fields
secret_env: Option<HashMap<String, String>>
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
kms_key_name: Option<String>
Cloud KMS key name to use to decrypt these envs.
Trait Implementations
impl Default for Secret
[src]
impl Default for Secret
impl Clone for Secret
[src]
impl Clone for Secret
fn clone(&self) -> Secret
[src]
fn clone(&self) -> Secret
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Secret
[src]
impl Debug for Secret
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for Secret
[src]
impl Part for Secret