Secret

doohickey secret allows you to interact with secrets in the OIH environment. Secrets are used to store sensitive information. OIH automatically encrypts the secret for you. Once a record is stored, you only need to reference that record by its alias to retrieve the credentials.

Arguments

doohickey secret accepts one argument - an alias for the secret

Create

doohickey secret create instantiates a secret record in OIH. The UUID for this secret will be saved for Doohickey CLI to reference later, as well as for you to use within your templates.

flagstypedescription
--environment (-e)stringAlias of OIH environment
--file (-f)stringA path to a file that contains the data to be used as input
--output (-o)stringA file path to use for saving output, as opposed to the default of sending to stdout
--id (-i)stringThe ID used for selecting a secret
--name (-n)stringThe display name for the secret to be stored in OIH
--stdin (-N)booleanUse stdin for input instead of file

Delete

doohickey secret delete will remove a secret from both your local integration environment and OIH.

flagstypedescription
--environment (-e)stringAlias of OIH environment
--id (-i)stringThe ID used for selecting a secret

Update

doohickey secret update will apply an update to an existing secret.

flagstypedescription
--environment (-e)stringAlias of OIH environment
--output (-o)stringA file path to use for saving output, as opposed to the default of sending to stdout
--id (-i)stringThe ID used for selecting a secret

View

You are able to view a single secret as well as viewing all secrets available in an OIH environment.

View One Secret

To view a single secret, run the command doohickey secret view mySecretAlias, replacing mySecretAlias with the alias of the secret you would like to view, or doohickey secret view --id 12345 replacing 12345 with the UUID of the secret.

flagstypedescription
--environment (-e)stringAlias of OIH environment
--output (-o)stringA file path to use for saving output, as opposed to the default of sending to stdout
--id (-i)stringThe ID used for selecting a secret

View All Secrets

To view all secrets in an OIH environment, run the command doohickey secret view and OIH will retrieve all secrets and return limited information about them. To retrieve additional information, you can pass the --verbose flag.

flagstypedescription
--environment (-e)stringAlias of OIH environment
--output (-o)stringA file path to use for saving output, as opposed to the default of sending to stdout
--id (-i)stringThe ID used for selecting a secret
--verbose (-v)booleanVerbose mode for view command to list all columns