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 latest version of `SecretManagerSecret` is 2.15.0, with several earlier versions available, going back to 1.0.0."],["`SecretManagerSecret` is a class that pairs a secret environment variable with a specific `SecretVersion` in Secret Manager."],["This class inherits from `Object` and implements multiple interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `SecretManagerSecret` class has three main properties: `Env` (environment variable name), `VersionName` (resource name of the `SecretVersion`), and `VersionNameAsSecretVersionName` (typed view over `VersionName`)."],["There are two constructors for the `SecretManagerSecret` class: a default constructor and one that takes another `SecretManagerSecret` object as a parameter."]]],[]]