public MapField<string, ByteString> SecretEnv { get; }
Map of environment variable name to its encrypted value.
Secret environment variables must be unique across all of a build's
secrets, and must be used by at least one build step. Values can be at most
64 KB in size. There can be at most 100 secret values across all of a
build's secrets.
[[["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-19 UTC."],[[["\u003cp\u003eThe provided content details the \u003ccode\u003eSecret\u003c/code\u003e class within the Google Cloud Build v1 API, which is used for managing encrypted environment variables.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eSecret\u003c/code\u003e class is 2.15.0, while the content specifically references version 2.2.0, and documents versions as far back as version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecret\u003c/code\u003e class pairs encrypted values with a Cloud KMS key for decryption, using the \u003ccode\u003eKmsKeyName\u003c/code\u003e property, and manages these values via the \u003ccode\u003eSecretEnv\u003c/code\u003e map.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecret\u003c/code\u003e class 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, which supports serialization, comparison, deep cloning, and buffered message capabilities.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties such as \u003ccode\u003eKmsKeyName\u003c/code\u003e of type \u003ccode\u003eString\u003c/code\u003e, and \u003ccode\u003eSecretEnv\u003c/code\u003e which is of type \u003ccode\u003eMapField<String, ByteString>\u003c/code\u003e, which contains a map of secrets and their encrypted values.\u003c/p\u003e\n"]]],[],null,[]]