azure::key-vault-secret¶
Creates a key vault secret.
Example¶
azure::key-vault-secret vault-secret-example
name: "secret-example"
value: "secret-value"
vault: $(azure::key-vault vault-example-secret)
attribute
enabled : true
expires : "2020-04-04T15:54:12.000Z"
not-before : "2020-04-02T15:54:12.000Z"
end
tags: {
Name: "vault-secret-examples"
}
end
Attributes¶
| Attribute | Description |
|---|---|
| name | The name of the secret. (Required) |
| vault | The key vault under which the secret is going to be created. (Required) |
| value | The value of the secret. (Required) |
| attribute subresource | The attribute config for the secret. (Required)
|
| content-type | The content type for the secret. |
| tags map | Tags for the secret. |
Outputs¶
| Attribute | Description |
|---|---|
| id | The Id of the secret. |
| kid | The KID of the secret. |
| identifier | The identifier of the secret. |