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

provider/aws: add ses_smtp_password to iam_access_key #3165

Merged
merged 1 commit into from
Sep 3, 2015

Conversation

phinze
Copy link
Contributor

@phinze phinze commented Sep 3, 2015

AWS gives instructions for converting AWS credentials into SES SMTP
credentials here:

https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-credentials.html#smtp-credentials-convert

This implements their algorithm and yields the result as an attribute on
iam_access_key.

AWS gives instructions for converting AWS credentials into SES SMTP
credentials here:

https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-credentials.html#smtp-credentials-convert

This implements their algorithm and yields the result as an attribute on
`iam_access_key`.
if key == nil {
return ""
}
version := byte(0x02)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the byte cast is necessary, but if it helps for clarity purposes then 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'm going to leave it for verbosity's sake, but noted!

@ryanuber
Copy link
Member

ryanuber commented Sep 3, 2015

LGTM

phinze added a commit that referenced this pull request Sep 3, 2015
provider/aws: add ses_smtp_password to iam_access_key
@phinze phinze merged commit ba1f337 into master Sep 3, 2015
@phinze phinze deleted the f-iam-smtp-password branch September 3, 2015 19:06
@@ -55,5 +55,8 @@ The following attributes are exported:
* `id` - The access key ID.
* `user` - The IAM user associated with this access key.
* `secret` - The secret access key. Note that this will be written to the state file.
* `ses_smtp_password` - The secret access key converted into an SES SMTP

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this point, shouldn't this be encrypted with PGP in the same way the secret is?

@ghost
Copy link

ghost commented Jul 24, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Jul 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants