# App Builders don't inherit secrets from App?

**URL:** <https://community.fly.io/t/app-builders-dont-inherit-secrets-from-app/19977>\
**Category:** Build debugging\
**Created:** [May 20, 2024, 10:55am UTC](https://community.fly.io/t/app-builders-dont-inherit-secrets-from-app/19977 "2024-05-20T10:55:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![galtzo](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/galtzo/32/35695_2.png) [@galtzo](https://community.fly.io/u/galtzo)\
**Post date:** [May 20, 2024, 10:55am UTC](https://community.fly.io/t/app-builders-dont-inherit-secrets-from-app/19977/1 "2024-05-20T10:55:25Z")

</div>

Now that I realize why my `--remote-only` builds are failing I’m left to wonder… how is this helpful, and why isn’t there a way to make this easier. Perhaps a `fly secrets copy` command that can copy secrets from an app to the builder?

Is it expected that we setup the builder secrets each time? Is there a way to pass secrets to the builder from my local `flyctl` command line?

I can’t find any documentation on the App Builders.

---

<div class="post-metadata">

**Author:** ![rubys](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/rubys/32/16907_2.png) [@rubys](https://community.fly.io/u/rubys)\
**Post date:** [May 20, 2024, 1:43pm UTC](https://community.fly.io/t/app-builders-dont-inherit-secrets-from-app/19977/2 "2024-05-20T13:43:57Z")

</div>

This may help: [Build Secrets · Fly Docs](https://fly.io/docs/reference/build-secrets/)

- Fly deploy accepts `--build-secret` arguments
- You can automate the inclusion of build secrets using an ephemeral Machine
