-
Notifications
You must be signed in to change notification settings - Fork 544
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
vault_ssh_secret_backend_role: add algorithm_signer argument #809
vault_ssh_secret_backend_role: add algorithm_signer argument #809
Conversation
The `algorithm_signer` argument was introduced in Vault 1.4.3. See also hashicorp/vault#9096.
Hello @catsby. It was suggested in #vault-tool that I might want to ping you about this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay in review! I think we need to remove the Default
at this time. Perhaps when this was originally opened the default was true, but I believe with hashicorp/vault#9824 that's not longer the case (and the docs on vaultproject.io need to be updated, I think)
"algorithm_signer": { | ||
Type: schema.TypeString, | ||
Optional: true, | ||
Default: "ssh-rsa", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to leave algorithm_signer
as Optional: true
and Computed: true
and remove the default. The documentation on vaultproject.io says ssh-rsa
is the default, but I believe that's not actually the case anymore. The API is returning ""
now and not returning any defaults
Thank you for contributing! I made minor updates to account for the |
Thanks! Any best guest on when there will be a new release of the provider? |
…rp#809) * vault_ssh_secret_backend_role: add algorithm_signer argument The `algorithm_signer` argument was introduced in Vault 1.4.3. See also hashicorp/vault#9096. * make algorithm_signer optional, computed * fix test expectation Co-authored-by: catsby <[email protected]>
The
algorithm_signer
argument was introduced in Vault 1.4.3. See also hashicorp/vault#9096.Community Note
Release note for CHANGELOG:
Output from acceptance testing: