Skip to content

Commit 8cd6d0b

Browse files
committed
Add Sensitive attribute to token
Signed-off-by: Diogenes Fernandes <[email protected]>
1 parent 25fbc95 commit 8cd6d0b

4 files changed

Lines changed: 8 additions & 6 deletions

github/data_source_github_actions_organization_remove_token.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ func dataSourceGithubActionsOrganizationRemoveToken() *schema.Resource {
1717

1818
Schema: map[string]*schema.Schema{
1919
"token": {
20-
Type: schema.TypeString,
21-
Computed: true,
20+
Type: schema.TypeString,
21+
Computed: true,
22+
Sensitive: true,
2223
},
2324
"expires_at": {
2425
Type: schema.TypeInt,

github/data_source_github_actions_remove_token.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ func dataSourceGithubActionsRemoveToken() *schema.Resource {
2222
ForceNew: true,
2323
},
2424
"token": {
25-
Type: schema.TypeString,
26-
Computed: true,
25+
Type: schema.TypeString,
26+
Computed: true,
27+
Sensitive: true,
2728
},
2829
"expires_at": {
2930
Type: schema.TypeInt,

website/docs/d/actions_organization_remove_token.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: "github"
3-
page_title: "GitHub: actions_organization_remove_token"
3+
page_title: "GitHub: github_actions_organization_remove_token"
44
description: |-
55
Get a GitHub Actions organization remove token.
66
---

website/docs/d/actions_remove_token.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: "github"
3-
page_title: "GitHub: actions_remove_token"
3+
page_title: "GitHub: github_actions_remove_token"
44
description: |-
55
Get a GitHub Actions repository remove token.
66
---

0 commit comments

Comments
 (0)