You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(jobs): support secret manager references in serverless jobs defi… (#3030)
* feat(jobs): support secret manager references in serverless jobs definitions
* fix(jobs): support secret regional and uuid, fix diff detection and update
* chore(jobs): update documentation with secret_reference
@@ -48,6 +77,13 @@ The following arguments are supported:
48
77
-`timezone` - The timezone, must be a canonical TZ identifier as found in this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
49
78
-`region` - (Defaults to [provider](../index.md#region)`region`) The [region](../guides/regions_and_zones.md#regions) of the Job.
50
79
-`project_id` - (Defaults to [provider](../index.md#project_id)`project_id`) The ID of the project the Job is associated with.
80
+
-`secret_reference` - (Optional) A reference to a secret stored in [Secret Manager](../resources/secret.md).
81
+
-`secret_id` - (Required) The secret unique identifier, it could be formatted as region/UUID or UUID. In case the region is passed, it must be the same as the job definition. You could reference the same secret multiple times in the same job definition.
82
+
-`secret_version` - (Default: `latest`) The secret version.
83
+
-`file` - (Optional) The absolute file path where the secret will be mounted. Must be specified if `environment` is not specified.
84
+
-`environment` - (Optional) An environment variable containing the secret value. Must be specified if `file` is not specified.
85
+
-`secret_reference_id` - The secret reference UUID that is automatically generated by the provider.
0 commit comments