Skip to content

Where to put the stripe credentials? #762

Answered by joemasilotti
afrieirham asked this question in Q&A
Discussion options

You must be logged in to vote

Decrypt the development credentials with:

$ bin/rails credentials:edit --environment development

That should open your editor to a plaintext file with all of the local secrets. Add your Stripe keys as the docs mention:

stripe:
  private_key: XXX
  reporting_key: XXX
  price_ids:
    foo: XXX
    bar: XXX

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@afrieirham
Comment options

Answer selected by joemasilotti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants