Skip to content

Commit 25de98f

Browse files
authored
docs: remove note about inferring project ID (#297)
1 parent 6f71afe commit 25de98f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,8 @@ jobs:
9494
- `secret_environment_variables`: (Optional) List of key-value pairs to set as
9595
environment variables at runtime of the format `KEY1=SECRET_VERSION_REF` where
9696
`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".
10099

101100
For example, this mounts version 5 of the `api-key` secret into `$API_KEY`
102101
inside the function's runtime:
@@ -111,9 +110,8 @@ jobs:
111110
runtime of the format "PATH=SECRET_VERSION_REF" where PATH is the mount path
112111
inside the container (e.g. "/etc/secrets/my-secret") and SECRET_VERSION_REF is
113112
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".
117115

118116
For example, this mounts the latest value of the `api-key` secret at
119117
`/etc/secrets/api-key` inside the function's filesystem:

0 commit comments

Comments
 (0)