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

Use credentials, not secrets, for Active Storage #30650

Merged
merged 1 commit into from
Sep 19, 2017

Conversation

claudiob
Copy link
Member

According to #30067 (@dhh / @kaspth) :

This PR will deprecate secrets.yml* and instead adopt
config/credentials.yml.enc to signify what these secrets are specifically
for: Keeping API keys, database passwords, and any other integration
credentials in one place.

Therefore the examples for Active Storage should indicate Rails.application.credentials and not Rails.application.secrets.

Additionally, the template for the credentials file should have an aws key, and not an amazon key, since that's what the example config/storage.yml file expects.

@dhh
Copy link
Member

dhh commented Sep 19, 2017

There's a conflict?

@yhirano55
Copy link
Contributor

Related #30648

According to rails#30067:

> This PR will deprecate secrets.yml* and instead adopt
> config/credentials.yml.enc to signify what these secrets are specifically
> for: Keeping API keys, database passwords, and any other integration
> credentials in one place.

[ci skip] since only comments are being edited.
@claudiob
Copy link
Member Author

@dhh Conflict solved

@dhh dhh merged commit 2f8ecdb into rails:master Sep 19, 2017
@claudiob claudiob deleted the use-credentials-not-secrets branch September 19, 2017 22:16
y-yagi added a commit to y-yagi/rails that referenced this pull request Sep 19, 2017
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.

None yet

3 participants