Skip to content

Commit

Permalink
auth: mark key and keyring as sensitive
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
  • Loading branch information
MrFreezeex committed Jul 1, 2022
1 parent 5ecb190 commit 7041dc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ceph/resource_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,14 @@ func resourceAuth() *schema.Resource {
Type: schema.TypeString,

Computed: true,
Sensitive: true,
Description: "The cephx keyring of the entity",
},

"key": {
Type: schema.TypeString,
Computed: true,
Sensitive: true,
Description: "The cephx key of the entity",
},
},
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This resource allows you to create a ceph client and retrieve his key and/or key
### Read-Only

- `id` (String) The ID of this resource.
- `key` (String) The cephx key of the entity
- `keyring` (String) The cephx keyring of the entity
- `key` (String, Sensitive) The cephx key of the entity
- `keyring` (String, Sensitive) The cephx keyring of the entity


0 comments on commit 7041dc4

Please sign in to comment.