HashiCorp Cloud Platform
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
$ hcp profile get COMPONENT/PROPERTY [Optional Flags]
Positional arguments
COMPONENT/PROPERTY- Property to be get. Note thatCOMPONENT/is optional when referring to top-level profile fields, i.e., such asorganization_idandproject_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
--projectflag.
- 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 forhcpcommands. This is the equivalent of using the global--formatflag. Supported output formats:pretty,table, andjson.quiet- If True, prompts will be disabled and output will be minimized.verbosity- Default logging verbosity forhcpcommands. This is the equivalent of using the global--verbosityflag. Supported log levels:trace,debug,info,warn, anderror.
app- HCP Vault Secrets application name to operate on by default.