94
94
- `secret_environment_variables` : (Optional) List of key-value pairs to set as
95
95
environment variables at runtime of the format `KEY1=SECRET_VERSION_REF` where
96
96
` SECRET_VERSION_REF` is a full resource name of a Google Secret Manager secret
97
- of the format "projects/p/secrets/s/versions/v". If the project is omitted, it
98
- will be inferred from the Cloud Function project ID. If the version is
99
- omitted, it will default to "latest".
97
+ of the format "projects/p/secrets/s/versions/v". If the version is omitted, it
98
+ will default to "latest".
100
99
101
100
For example, this mounts version 5 of the `api-key` secret into `$API_KEY`
102
101
inside the function's runtime :
@@ -111,9 +110,8 @@ jobs:
111
110
runtime of the format "PATH=SECRET_VERSION_REF" where PATH is the mount path
112
111
inside the container (e.g. "/etc/secrets/my-secret") and SECRET_VERSION_REF is
113
112
a full resource name of a Google Secret Manager secret of the format
114
- " projects/p/secrets/s/versions/v" . If the project is omitted, it will be
115
- inferred from the Cloud Function project ID. If the version is omitted, it
116
- will default to "latest".
113
+ " projects/p/secrets/s/versions/v" . If the version is omitted, it will default
114
+ to "latest".
117
115
118
116
For example, this mounts the latest value of the `api-key` secret at
119
117
`/etc/secrets/api-key` inside the function's filesystem :
0 commit comments