Skip to content

Add write_only to resource attributes#142

Open
stuart-mclaren-hpe wants to merge 1 commit intohashicorp:mainfrom
stuart-mclaren-hpe:write-only-attr
Open

Add write_only to resource attributes#142
stuart-mclaren-hpe wants to merge 1 commit intohashicorp:mainfrom
stuart-mclaren-hpe:write-only-attr

Conversation

@stuart-mclaren-hpe
Copy link
Copy Markdown

Supports adding WriteOnly to resource schemas, eg:

"password": schema.StringAttribute{
	Required:            true,
	WriteOnly:           true, <- write_only
	Sensitive:           true,
	Description:         "Super secret password",
},

Supports adding WriteOnly to resource schemas, eg:

```
"password": schema.StringAttribute{
	Required:            true,
	WriteOnly:           true, <- write_only
	Sensitive:           true,
	Description:         "Super secret password",
},
```
@stuart-mclaren-hpe stuart-mclaren-hpe requested a review from a team as a code owner May 22, 2025 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant