此内容没有您所选择的语言版本。

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]
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.

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.