hcp profile get
Command: hcp profile get
The hcp profile get
command gets the specified property in your active
profile.
To view all currently set properties, run hcp profile display
.
Usage
Positional arguments
COMPONENT/PROPERTY
- Property to be get. Note thatCOMPONENT/
is optional when referring to top-level profile fields, i.e., such asorganization_id
andproject_id
.Using component names is required for setting other properties like
core/output_format
. Consult the Available Properties section below for a comprehensive list of properties.
Available Properties
- Organization ID of the HCP organization to operate on.
- Project ID of the HCP project to operate on by default. This can be overridden
by using the global
--project
flag.
- Project ID of the HCP project to operate on by default. This can be overridden
by using the global
no_color
- If True, color will not be used when printing messages in the terminal.output_format
- Default output format forhcp
commands. This is the equivalent of using the global--format
flag. Supported output formats:pretty
,table
, andjson
.quiet
- If True, prompts will be disabled and output will be minimized.verbosity
- Default logging verbosity forhcp
commands. This is the equivalent of using the global--verbosity
flag. Supported log levels:trace
,debug
,info
,warn
, anderror
.
app
- HCP Vault Secrets application name to operate on by default.