Skip to content

Commit

Permalink
Add sensitive pair at atttribute level
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-cxf committed Feb 20, 2023
1 parent 76218f5 commit 8f0fae4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions provider/resource_site.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func resourceSite() *schema.Resource {
Type: schema.TypeMap,
Description: "The sites primary Agent key",
Computed: true,
Sensitive: true,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"name": {
Expand All @@ -66,12 +67,10 @@ func resourceSite() *schema.Resource {
"secret_key": {
Type: schema.TypeString,
Computed: true,
Sensitive: true,
},
"access_key": {
Type: schema.TypeString,
Computed: true,
Sensitive: true,
},
},
},
Expand Down

0 comments on commit 8f0fae4

Please sign in to comment.