Loading…
A short voice session: one question, one follow-up, then instant feedback — up to 5 minutes.
Use a build mechanism designed for temporary secret access. Do not put the token in ordinary build arguments, copied files, or persistent image layers.
A build secret mount can expose credentials only to the needed build step, but the command must still avoid copying or printing them. Deleting a secret in a later layer does not remove it from earlier layers. Audit logs, caches, and produced artifacts as well as the final filesystem. Keep token privileges and lifetime limited.