2.287. openstack secret get


usage: openstack secret get [-h] [-f {json,shell,table,value,yaml}]
                            [-c COLUMN] [--max-width <integer>] [--noindent]
                            [--prefix PREFIX] [--decrypt] [--payload]
                            [--payload_content_type PAYLOAD_CONTENT_TYPE]
                            URI
Retrieve a secret by providing its URI.

Positional arguments

URI


        The URI reference for the secret.

Optional arguments

-h, --help


        show this help message and exit

--decrypt, -d


        if specified, retrieve the unencrypted secret data;
      the data type can be specified with --payload-content-
      type.

--payload, -p


        if specified, retrieve the unencrypted secret data;
      the data type can be specified with --payload-content-
      type. If the user wishes to only retrieve the value of
      the payload they must add "-f value" to format
      returning only the value of the payload

--payload_content_type PAYLOAD_CONTENT_TYPE, -t PAYLOAD_CONTENT_TYPE


      the content type of the decrypted secret (default:
      text/plain.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.