pub struct InlineSecret {
pub env_map: Option<HashMap<String, Vec<u8>>>,
pub kms_key_name: Option<String>,
}Expand description
Pairs a set of secret environment variables mapped to 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§
§env_map: Option<HashMap<String, Vec<u8>>>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>Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/
Trait Implementations§
Source§impl Clone for InlineSecret
impl Clone for InlineSecret
Source§fn clone(&self) -> InlineSecret
fn clone(&self) -> InlineSecret
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InlineSecret
impl Debug for InlineSecret
Source§impl Default for InlineSecret
impl Default for InlineSecret
Source§fn default() -> InlineSecret
fn default() -> InlineSecret
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InlineSecret
impl<'de> Deserialize<'de> for InlineSecret
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for InlineSecret
impl Serialize for InlineSecret
impl Part for InlineSecret
Auto Trait Implementations§
impl Freeze for InlineSecret
impl RefUnwindSafe for InlineSecret
impl Send for InlineSecret
impl Sync for InlineSecret
impl Unpin for InlineSecret
impl UnwindSafe for InlineSecret
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more