public sealed class SecretManagerSecret : IMessage<SecretManagerSecret>, IEquatable<SecretManagerSecret>, IDeepCloneable<SecretManagerSecret>, IBufferMessage, IMessage
Pairs a secret environment variable with a SecretVersion in Secret Manager.
Environment variable name to associate with the secret.
Secret environment variables must be unique across all of a build's
secrets, and must be used by at least one build step.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `SecretManagerSecret` class pairs a secret environment variable with a specific `SecretVersion` in Secret Manager."],["Version 2.15.0 is the latest available version of `SecretManagerSecret`, while version 2.0.0 is the specific version this class overview is focusing on."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has several properties, including `Env`, `VersionName` and `VersionNameAsSecretVersionName` which help define the Secret manager properties."],["The `SecretManagerSecret` class has two constructors: a default one and another that copies from another `SecretManagerSecret` object."]]],[]]