Skip to content

Allow retrieving resource metadata from CLI #3434

@dwahler

Description

@dwahler

#2989 added support for showing resource metadata in the web UI. Implement the corresponding functionality in the CLI, to make it easier to use metadata items like API keys.

Proposed syntax:

  • coder metadata <workspace> to list all items, with sensitive values obscured by a placeholder
  • coder metadata --all <workspace> to list all items
  • coder metadata --get <workspace> <resource> <key> to print just the value of a specific key, without formatting or headers (for scripts)

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliArea: CLIstaleThis issue is like stale bread.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy