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"]],[["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-08-08 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSecretKeySelector\u003c/code\u003e class in the Cloud Run Admin v2 API allows referencing secrets from Cloud Secret Manager within your application.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eSecretKeySelector\u003c/code\u003e class is 2.13.0, and documentation is available for 14 previous versions including beta.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSecretKeySelector\u003c/code\u003e implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretKeySelector\u003c/code\u003e class has two constructors, a default constructor, and another to create a new instance from an existing \u003ccode\u003eSecretKeySelector\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSecretKeySelector\u003c/code\u003e has properties to specify the secret's name (\u003ccode\u003eSecret\u003c/code\u003e) and version (\u003ccode\u003eVersion\u003c/code\u003e), allowing for referencing either by string values or typed resource names.\u003c/p\u003e\n"]]],[],null,[]]