Skip to content

add support for write-only password and version in #287

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

egor-krv
Copy link
Contributor

This PR will allow the password to be write-only, just like in the example in the ticket we’ve been working with, and similar to patterns used in other providers like google-provider.

Since password_wo (write-only) isn’t stored in state, it would get marked for update on every plan. To handle that, I introduced a password_wo_version attribute, which is tracked in state. If someone wants to rotate or update the password, they just bump the version — simple and explicit.

@egor-krv egor-krv self-assigned this Apr 24, 2025
@egor-krv egor-krv requested a review from a team April 24, 2025 04:46
@egor-krv egor-krv linked an issue Apr 24, 2025 that may be closed by this pull request
Copy link
Contributor

This PR is stale because it has been open 45 days with no activity. Remove no-pr-activity label or comment or this will be closed in 10 days.

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.

Add support for ephemeral resources
2 participants