elhaz config get¶
Synopsis¶
elhaz config get [OPTIONS]
Description¶
Display a config as formatted, syntax-highlighted JSON. If the config does not exist and you are running in an interactive terminal, elhaz will offer to create it.
Options¶
--name,-nNAMEConfig name. If omitted, an interactive selection prompt is shown.
--obscure,-oRedact sensitive field values in the output. Affected fields include
RoleArn,ExternalId,SerialNumber,TokenCode,PolicyArns, and any static AWS credentials (aws_access_key_id,aws_secret_access_key,aws_session_token,aws_account_id). Redacted values are replaced with***. Off by default.--helpShow help message and exit.
Examples¶
Print a config by name:
elhaz config get -n prod
Select a config interactively:
elhaz config get
Print a config with sensitive values hidden (e.g. for screen sharing):
elhaz config get -n prod --obscure