2.293. openstack secret store


usage: openstack secret store [-h] [-f {json,shell,table,value,yaml}]
                              [-c COLUMN] [--max-width <integer>] [--noindent]
                              [--prefix PREFIX] [--name NAME]
                              [--payload PAYLOAD] [--secret-type SECRET_TYPE]
                              [--payload-content-type PAYLOAD_CONTENT_TYPE]
                              [--payload-content-encoding PAYLOAD_CONTENT_ENCODING]
                              [--algorithm ALGORITHM]
                              [--bit-length BIT_LENGTH] [--mode MODE]
                              [--expiration EXPIRATION]
Copy to Clipboard Toggle word wrap
Store a secret in Barbican.

Optional arguments

-h, --help


        show this help message and exit

--name NAME, -n NAME


        a human-friendly name.

--payload PAYLOAD, -p PAYLOAD


      the unencrypted secret; if provided, you must also
      provide a payload_content_type

--secret-type SECRET_TYPE, -s SECRET_TYPE


      the secret type; must be one of symmetric, public,
      private, certificate, passphrase, opaque (default)

--payload-content-type PAYLOAD_CONTENT_TYPE, -t PAYLOAD_CONTENT_TYPE


      the type/format of the provided secret data;
      "text/plain" is assumed to be UTF-8; required when
      --payload is supplied.

--payload-content-encoding PAYLOAD_CONTENT_ENCODING, -e PAYLOAD_CONTENT_ENCODING


      required if --payload-content-type is "application
      /octet-stream".

--algorithm ALGORITHM, -a ALGORITHM


      the algorithm (default: aes).

--bit-length BIT_LENGTH, -b BIT_LENGTH


      the bit length (default: 256).

--mode MODE, -m MODE


        the algorithm mode; used only for reference (default:
      cbc)

--expiration EXPIRATION, -x EXPIRATION


      the expiration time for the secret in ISO 8601 format.

Back to top
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. Explore our recent updates.

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.

Theme

© 2025 Red Hat