public MapField<string, ByteString> EnvMap { 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 latest version of the \u003ccode\u003eInlineSecret\u003c/code\u003e class in the Google Cloud Build V1 library is 2.15.0, and version 1.3.0 is also represented in the provided document.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eInlineSecret\u003c/code\u003e is a class that manages secret environment variables and their encrypted values, using a Cloud KMS key for decryption.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnvMap\u003c/code\u003e property of the \u003ccode\u003eInlineSecret\u003c/code\u003e class stores a map of environment variable names to their corresponding encrypted values, with a maximum size of 64 KB per value and a limit of 100 secret values per build.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKmsKeyName\u003c/code\u003e property specifies the resource name of the Cloud KMS crypto key used for decryption, while the \u003ccode\u003eKmsKeyNameAsCryptoKeyName\u003c/code\u003e offers a \u003ccode\u003eCryptoKeyName\u003c/code\u003e-typed view of this resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInlineSecret\u003c/code\u003e class implements several interfaces including IMessage\u003c/p\u003e\n"]]],[],null,[]]