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 \u003ccode\u003eSecret\u003c/code\u003e class in the Google Cloud Build v1 API is used to manage encrypted environment variables paired with a Cloud KMS key for decryption.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eSecret\u003c/code\u003e, 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, and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSecret\u003c/code\u003e class instances can be constructed using a default constructor or a constructor that takes another \u003ccode\u003eSecret\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties for \u003ccode\u003eKmsKeyName\u003c/code\u003e (a string representing the Cloud KMS key) and \u003ccode\u003eSecretEnv\u003c/code\u003e (a map of environment variable names to their encrypted values as ByteString).\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available in the documentation is version 2.15.0 and the documentation includes versions back to 1.0.0 for class \u003ccode\u003eSecret\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]