Skip to content

Commit

Permalink
Flag private-key attribute as sensitive (#1548)
Browse files Browse the repository at this point in the history
  • Loading branch information
agrevtsev committed Apr 20, 2023
1 parent 38087d5 commit 80b4bb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions openstack/resource_openstack_compute_keypair_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ func resourceComputeKeypairV2() *schema.Resource {

// computed-only
"private_key": {
Type: schema.TypeString,
Computed: true,
Type: schema.TypeString,
Computed: true,
Sensitive: true,
},

"fingerprint": {
Expand Down

0 comments on commit 80b4bb3

Please sign in to comment.