#default secret

1 messages · Page 1 of 1 (latest)

sullen heath
#

Hey, is there a way to set a default way to get a secret the way there is to set a default path or string value? I can't find anything in the docs.

spark bluff
sullen heath
#

I've got some auth tokens for various services in an OpenTofu pipeline, and I don't want to have to pass them in as --foo-token=env:FOO_TOKEN for every call. This pipeline will be used on dev laptops, and I want to be able to cleanly say "set up your environment and then run dagger call plan" or similar.

spark bluff
#

Thanks for sharing, yeah makes perfect sense. This is an area that could use some polish for sure.

There is an existing issue to track this, I think its the same as your use case: https://github.com/dagger/dagger/issues/8286

There is always a balance we're trying to reach between having reproducible builds that don't rely on any "magic" files or values floating around somewhere, and the end user experience being too cumbersome.

GitHub

What are you trying to do? Many commands that I run especially in a corporate environment require authentication of some sort. Typically this is username/password but sometimes it could be a certai...