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 reference documentation for the \u003ccode\u003eSecretKeySelector\u003c/code\u003e class within the Cloud Run Admin v2 API for .NET, with the most recent version being 2.13.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretKeySelector\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.Run.V2\u003c/code\u003e namespace, is a representation of a source for the value of an EnvVar and it inherits from various interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes constructors such as \u003ccode\u003eSecretKeySelector()\u003c/code\u003e and \u003ccode\u003eSecretKeySelector(SecretKeySelector other)\u003c/code\u003e to create new instances of this class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eSecretKeySelector\u003c/code\u003e include \u003ccode\u003eSecret\u003c/code\u003e, \u003ccode\u003eSecretAsSecretName\u003c/code\u003e, \u003ccode\u003eVersion\u003c/code\u003e, and \u003ccode\u003eVersionAsSecretVersionName\u003c/code\u003e, allowing you to specify the secret name and version.\u003c/p\u003e\n"],["\u003cp\u003eThis page also contains the documentation for previous versions of the \u003ccode\u003eSecretKeySelector\u003c/code\u003e class, with versions ranging from 2.1.0 up to 2.13.0, and includes version 1.0.0-beta02.\u003c/p\u003e\n"]]],[],null,[]]