Skip to content

How do I generate passwords.yaml again? #2108

Answered by NeroSong
kaljitism asked this question in Q&A
Discussion options

You must be logged in to vote

Ran into the same thing, and attempts to recreate one failed 😅 I ended up creating a new project and use its passwords.yaml.

Just copy and update the development section with the relevant parameters from the docker-compose.yaml file.

# Use this file to store passwords to services that your server you use. When
# the server starts, the passwords will be automatically loaded and can be
# accessed from the `session.passwords` field. If you don't have access to a
# session object, passwords can also be accessed from
# `Serverpod.instance.passwords`. You can provide different passwords for
# different run configurations. If you want the same password for any
# configuration used, place it unde…

Replies: 1 comment 1 reply

Comment options

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

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