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

Allow multiple SSH keys per user #35

Open
pavlinpetkov opened this issue May 19, 2023 · 2 comments · May be fixed by #65
Open

Allow multiple SSH keys per user #35

pavlinpetkov opened this issue May 19, 2023 · 2 comments · May be fixed by #65

Comments

@pavlinpetkov
Copy link

Describe the Feature

Allow to assign multiple SSH keys per user account.
Currently only a single SSH keys is allowed via the public_key parameter of sftp_users variable.

Expected Behavior

Expected to be possible to configure multiple public keys per user.

Use Case

We have a location where there are 2 different parties interacting. One is uploading a resource to the SFTP S3 location, the other is consuming it.
Because these are 2 independent parties they generate their own SSH key pairs, not sharing their private keys.
it should be possible to set a user with two public keys for access so that both parties have access to the same user directory.

Describe Ideal Solution

Single aws_transfer_user resource with multiple aws_transfer_ssh_key resources.

Alternatives Considered

N/A

Additional Context

N/A

@CodechCFA
Copy link

Looks like a PR exists for this #33

We have the same use case so this module is not usable for us until this gets in. Any update on this?

@mudit988
Copy link

mudit988 commented May 2, 2024

Is there any way to add multiple keys to a single user via terraform.

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 a pull request may close this issue.

3 participants