Skip to content

Commit

Permalink
container_app_job: Update documentation for KV-backed secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Botje committed May 31, 2024
1 parent 15d989d commit 7189b07
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions website/docs/r/container_app_job.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,19 @@ A `volume` block supports the following:

A `secret` block supports the following:

* `name` - (required) Name of the secret.
* `identity` - (Optional) The identity to use for accessing the Key Vault secret reference. This can either be the Resource ID of a User Assigned Identity, or `System` for the System Assigned Identity.

* `value` - (required) Value of the secret.
!> **Note:** `identity` must be used together with `key_vault_secret_id`

* `key_vault_secret_id` - (Optional) The ID of a Key Vault secret. This can be a versioned or version-less ID.

!> **Note:** When using `key_vault_secret_id`, `ignore_changes` should be used to ignore any changes to `value`.

* `name` - (Required) The secret name.

* `value` - (Optional) The value for this secret.

!> **Note:** `value` will be ignored if `key_vault_secret_id` and `identity` are provided.

---

Expand Down

0 comments on commit 7189b07

Please sign in to comment.