Skip to content

Secrets documentation lacks clarity on how secrets appear inside a container #24434

@Kelso-stryd

Description

@Kelso-stryd

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

I can't find what I'm looking for

Description

There's no explanation of how the content of an environment secret is going to appear inside the container once mapped in via a secret mount.

Location

https://docs.docker.com/build/ci/github-actions/secrets/

Suggestion

There are several possible filenames it could show up as, and in a file, especially in the case of multi-line environment variables, there's questions about line terminations and allowed character types.

Finally, there's no documentation about the file mode for the secret mount. Which users may access it if the container is not running internally as root.

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/fixAgent has opened a PR for this issueagent/triagedAgent has analyzed this issue; verdict in a commentstatus/triageNeeds triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions