public sealed class SecretKeySelector : IMessage<SecretKeySelector>, IEquatable<SecretKeySelector>, IDeepCloneable<SecretKeySelector>, IBufferMessage, IMessage
SecretEnvVarSource represents a source for the value of an EnvVar.
Required. The name of the secret in Cloud Secret Manager.
Format: {secret_name} if the secret is in the same project.
projects/{project}/secrets/{secret_name} if the secret is
in a different project.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eSecretKeySelector\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Run.V2\u003c/code\u003e namespace, a component of Google Cloud's .NET library for managing Cloud Run resources.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSecretKeySelector\u003c/code\u003e is a sealed class that implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in handling message data and supporting deep cloning and comparison.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretKeySelector\u003c/code\u003e class allows you to specify the source of a secret, requiring the \u003ccode\u003eSecret\u003c/code\u003e property to define the secret's name and the \u003ccode\u003eVersion\u003c/code\u003e property to specify the secret version, with options to use the 'latest' version.\u003c/p\u003e\n"],["\u003cp\u003eThere are various versions of this class available, ranging from 1.0.0-beta02 to 2.13.0 (latest), each potentially offering different features or improvements.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes \u003ccode\u003eSecretAsSecretName\u003c/code\u003e and \u003ccode\u003eVersionAsSecretVersionName\u003c/code\u003e properties which offer typed views over the \u003ccode\u003eSecret\u003c/code\u003e and \u003ccode\u003eVersion\u003c/code\u003e resource name properties, respectively.\u003c/p\u003e\n"]]],[],null,[]]