docs: Add bsr purpose key examples (#4785)
* docs: Add bsr purpose key examples * Apply batch of suggestions from code review Co-authored-by: Michael Li <michael.li@hashicorp.com> --------- Co-authored-by: Michael Li <michael.li@hashicorp.com>
This commit is contained in:
1 parent
1420d182d6
commit
9d3f3da4df
2 files changed
+40
-4
No files matched your search
@@ -193,9 +193,23 @@ And optionally, a KMS stanza for configuration encryption purpose:
|
||||
# Configuration encryption block: decrypts sensitive values in the
|
||||
# configuration file. See `boundary config [encrypt|decrypt] -h`.
|
||||
kms "aead" {
|
||||
purpose = "config"`
|
||||
purpose = "config"
|
||||
aead_type = "aes-gcm"
|
||||
key = "7xtkEoS5EXPbgynwd+dDLHopaCqK8cq0Rpep4eooaTs="
|
||||
key = "7xtkEoS5EXPbgynwd+dDLHopaCqK8cq0Rpep4eooaTs="
|
||||
}
|
||||
```
|
||||
|
||||
And optionally, a KMS stanza to enable the session recording feature:
|
||||
|
||||
```hcl
|
||||
# BSR encryption block: encrypts data and checks the integrity
|
||||
# of session recordings. If you do not add a BSR key to your
|
||||
# controller configuration, you cannot enable session recording.
|
||||
kms "aead" {
|
||||
purpose = "bsr"
|
||||
aead_type = "aes-gcm"
|
||||
key = "8Vg!XCbS.fzNKB@Uu.ccB588H#4iyHAd:TpgjuwC/;J;"
|
||||
key_id = "session_recording"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -315,4 +329,14 @@ kms "aead" {
|
||||
key = "8fZBjCUfN0TzjEGLQldGY4+iE9AkOvCfjh7+p0GtRBQ="
|
||||
key_id = "global_recovery"
|
||||
}
|
||||
|
||||
# BSR encryption block: encrypts data and checks the integrity
|
||||
# of session recordings. If you do not add a BSR key to your
|
||||
# controller configuration, you cannot enable session recording.
|
||||
kms "aead" {
|
||||
purpose = "bsr"
|
||||
aead_type = "aes-gcm"
|
||||
key = "8Vg!XCbS.fzNKB@Uu.ccB588H#4iyHAd:TpgjuwC/;J;"
|
||||
key_id = "session_recording"
|
||||
}
|
||||
```
|
||||
Reference in new issue
Block a user