cofidectl profile get-credentials-path
Print the path of the credentials file for a config profile
Synopsis
Section titled “Synopsis”This command prints the path of the credentials JSON file cached by “cofidectl connect login” for the selected profile’s Connect TLS gRPC target. The path is printed whether or not the file exists.
The path is printed on its own, followed by a newline, so that it can be used in a shell, e.g. CREDENTIALS=$(cofidectl profile get-credentials-path). The file holds secrets.
cofidectl profile get-credentials-path [flags]Options
Section titled “Options” -h, --help help for get-credentials-pathOptions inherited from parent commands
Section titled “Options inherited from parent commands” --config string Cofidectl config file (default: cofide/cofidectl.yaml in the user config directory, e.g. ~/.config on Linux) --dir string directory to write the generated docs to (default "docs/cli") --format string output format: md, md-site, man or rest (default "md") --link-prefix string md-site only, required: URL path the generated pages are published under, used to rewrite links between them --log-level string Log level (overrides the COFIDECTL_LOG_LEVEL environment variable) (default "ERROR") -o, --output format Output format (table|json) (default table) --profile string Config profile to use (overrides the COFIDECTL_PROFILE environment variable)SEE ALSO
Section titled “SEE ALSO”- cofidectl profile - Manage config profiles
© 2026 Cofide Limited. All rights reserved.