Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Mark user login_name as non-sensitive. #1977

Merged
merged 1 commit into from
Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/resources/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ resource "snowflake_user" "user" {
- `email` (String, Sensitive) Email address for the user.
- `first_name` (String, Sensitive) First name of the user.
- `last_name` (String, Sensitive) Last name of the user.
- `login_name` (String, Sensitive) The name users use to log in. If not supplied, snowflake will use name instead.
- `login_name` (String) The name users use to log in. If not supplied, snowflake will use name instead.
- `must_change_password` (Boolean) Specifies whether the user is forced to change their password on next login (including their first/initial login) into the system.
- `password` (String, Sensitive) **WARNING:** this will put the password in the terraform state file. Use carefully.
- `rsa_public_key` (String) Specifies the user’s RSA public key; used for key-pair authentication. Must be on 1 line without header and trailer.
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var userSchema = map[string]*schema.Schema{
Type: schema.TypeString,
Optional: true,
Computed: true,
Sensitive: true,
Sensitive: false,
Description: "The name users use to log in. If not supplied, snowflake will use name instead.",
// login_name is case-insensitive
DiffSuppressFunc: diffCaseInsensitive,
Expand Down
Loading