You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.
We use email addresses as IAM usernames, but these can easily be longer than 32 chars. The current implementation of clean_iam_username makes them even longer.
It would be great if we could provide our custom function that would be invoked instead of clean_iam_username.
The custom function could be provided in /etc/aws-ec2-ssh.conf file, or maybe in some separate file.
The text was updated successfully, but these errors were encountered:
Removing everything after the @ would certainly work in most cases.
I guess you'd need to introduce a new option in configuration file which would enable this feature. Maybe that same option could be later used to tell that a custom function should be used to process IAM usernames if the default cleaning or email domain stripping isn't enough.
Anyway, having an option to remove everything after @ is just what we need at the moment.
We use email addresses as IAM usernames, but these can easily be longer than 32 chars. The current implementation of
clean_iam_username
makes them even longer.It would be great if we could provide our custom function that would be invoked instead of
clean_iam_username
.The custom function could be provided in
/etc/aws-ec2-ssh.conf
file, or maybe in some separate file.The text was updated successfully, but these errors were encountered: