public sealed class SecretKeySelector : IMessage<SecretKeySelector>, IEquatable<SecretKeySelector>, IDeepCloneable<SecretKeySelector>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Run Admin v2 API class SecretKeySelector.
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 provides documentation for the \u003ccode\u003eSecretKeySelector\u003c/code\u003e class within the Google Cloud Run Admin v2 API for .NET, specifically version 2.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretKeySelector\u003c/code\u003e class is used to represent a source for the value of an environment variable (EnvVar), coming from a secret stored in the Google Cloud Secret Manager.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and 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, to facilitate common functions such as message handling and cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretKeySelector\u003c/code\u003e has properties to set the \u003ccode\u003eSecret\u003c/code\u003e name, either as a string or as a typed \u003ccode\u003eSecretName\u003c/code\u003e, and the \u003ccode\u003eVersion\u003c/code\u003e of the secret, also as string or as \u003ccode\u003eSecretVersionName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also covers the available constructors, \u003ccode\u003eSecretKeySelector()\u003c/code\u003e and \u003ccode\u003eSecretKeySelector(SecretKeySelector other)\u003c/code\u003e, for creating new instances of this class.\u003c/p\u003e\n"]]],[],null,[]]