Creating secret from file?

Is there any way to create a secret from a file a la the kubectl method of doing that? Thanks!

We don’t currently have a native feature for that. You can however cat your file on the command line to achieve this:

doppler secrets set "$(cat ./username.txt)"="$(cat ./password.txt)"

Does that satisfy your use case?

Yeah that should work, thanks!

1 Like