Skip to main content
Version: ERPBridge + bridgectl ยท v0.5.0-alpha.2

bridgectl_api_set-credential-ref

bridgectl api set-credential-refโ€‹

Set the environment credential reference for an API

bridgectl api set-credential-ref [name] [flags]

Examplesโ€‹

bridgectl api set-credential-ref get-invoices --credential-ref ERP_API_KEY

Optionsโ€‹

--credential-ref string Environment variable containing the auth credential
-h, --help help for set-credential-ref

Options inherited from parent commandsโ€‹

-c, --context string Override active context
-o, --output string Output format: table, json, yaml (default "table")
--token string API token for the ERPBridge server
-v, --verbose Show full HTTP request/response detail

SEE ALSOโ€‹

Auto generated by spf13/cobra on 25-Aug-2026โ€‹