#[non_exhaustive]pub struct InlineSecret {
pub kms_key_name: String,
pub env_map: HashMap<String, Bytes>,
/* private fields */
}Expand description
Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kms_key_name: StringResource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/
env_map: HashMap<String, Bytes>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.
Implementations§
Source§impl InlineSecret
impl InlineSecret
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 Message for InlineSecret
impl Message for InlineSecret
Source§impl PartialEq for InlineSecret
impl PartialEq for InlineSecret
impl StructuralPartialEq 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