Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bakito committed Mar 1, 2024
1 parent c62303c commit 8aaa2a8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,19 @@ masked:
replacement: '***'
# generate a checksum from the value to be masked value instead of the replacement. (supported 'md5', 'sha1', 'sha256')
checksum: ''
# kind specific excluded fields with a replacement
# kind specific fields that should be masked
kindFields:
Secret:
- [ data ]
# encrypt certain fields
#encrypted:
# # the aes key to use to encrypt the field values. The key can also be provided via env variable 'KUBEXPORTER_AES_KEY'
# aesKey: '***'
# # kind specific fields that should be encrypted. NOTE: if the same fields or a parent branch is also masked, masking wins over encryption.
# kindFields:
# Secret:
# - [ data ]

# sort the slice field value before exporting
sortSlices:
User:
Expand Down
2 changes: 1 addition & 1 deletion pkg/types/encrypted.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
)

const (
prefix = "AES@"
prefix = "KUBEXPORTER_AES@"
EnvAesKey = "KUBEXPORTER_AES_KEY"
)

Expand Down

0 comments on commit 8aaa2a8

Please sign in to comment.