Skip to content

Issue with the "Build Secrets" doc #2215

@patrickvenetz

Description

@patrickvenetz

I found an issue with this document.

Title: Build Secrets
Location: https://fly.io/docs/apps/build-secrets/
Source: https://github.com/superfly/docs/blob/main/apps/build-secrets.html.md

Describe the issue

Example "Automate the inclusion of build secrets using an ephemeral Machine" has this script line:

flyctl secrets list --json | jq -r ".[].Name"

flyctl returns a list of secrets in JSON, and jq picks name property from each object in array.

It returns a list of null instead of secret names.

This is due to change of property name from Name to name (lowercase "n").

I urge to change line to:

flyctl secrets list --json | jq -r ".[].name"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions