検索

2.17. hammer content-credentials

download PDF

サーバーでコンテンツの認証情報を操作します。

Usage:
    hammer content-credentials [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create a Content Credential
 delete, destroy               Destroy a Content Credential
 info, show                    Show a Content Credential
 list, index                   List Content Credentials
 update                        Update a Content Credential

Options:
 -h, --help                    Print help

2.17.1. hammer content-credentials create

コンテンツ認証情報を作成します。

Usage:
    hammer content-credentials create [OPTIONS]

Options:
 --content-type CONTENT_TYPE             Type of content: “cert”, “gpg_key”
 --name NAME                             Name of the Content Credential
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization identifier
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 --path KEY_FILE                         Key file
 -h, --help                              Print help

2.17.2. hammer content-credentials delete

コンテンツ認証情報を破棄します。

Usage:
    hammer content-credentials <delete|destroy> [OPTIONS]

Options:
 --id ID                                 Content Credential ID
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

2.17.3. hammer content-credentials info

コンテンツ認証情報を表示します。

Usage:
    hammer content-credentials <info|show> [OPTIONS]

Options:
 --fields FIELDS                         Show specified fields or predefined field sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --id ID                                 Content Credential numeric identifier
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 -h, --help                              Print help

Predefined field sets:
  --------------------------|-----|---------|-----
  FIELDS                    | ALL | DEFAULT | THIN
  --------------------------|-----|---------|-----
  Id                        | x   | x       | x
  Name                      | x   | x       | x
  Organization              | x   | x       |
  Repositories/id           | x   | x       |
  Repositories/name         | x   | x       |
  Repositories/content type | x   | x       |
  Repositories/product      | x   | x       |
  Content                   | x   | x       |
  --------------------------|-----|---------|-----

2.17.4. hammer content-credentials list

コンテンツの認証情報を一覧表示します。

Usage:
    hammer content-credentials <list|index> [OPTIONS]

Options:
 --content-type CONTENT_TYPE             Type of content
 --fields FIELDS                         Show specified fields or predefined field sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --full-result FULL_RESULT               Whether or not to show all results
                                         One of true/false, yes/no, 1/0.
 --name NAME                             Name of the Content Credential
 --order ORDER                           Sort field and order, eg. 'id DESC'
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization identifier
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 --page PAGE                             Page number, starting at 1
 --per-page PER_PAGE                     Number of results per page to return
 --search SEARCH                         Search string
 -h, --help                              Print help

Predefined field sets:
  -------------|-----|---------|-----
  FIELDS       | ALL | DEFAULT | THIN
  -------------|-----|---------|-----
  Id           | x   | x       | x
  Name         | x   | x       | x
  Content type | x   | x       |
  -------------|-----|---------|-----

2.17.5. hammer content-credentials update

コンテンツ認証情報を更新します。

Usage:
    hammer content-credentials update [OPTIONS]

Options:
 --content-type CONTENT_TYPE             Type of content: “cert”, “gpg_key”
 --id ID                                 Content Credential ID
 --name NAME                             Name to search by
 --new-name NEW_NAME                     Name of the Content Credential
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 --path KEY_FILE                         Key file
 -h, --help                              Print help
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.