Este conteúdo não está disponível no idioma selecionado.

Chapter 19. content-credentials


Manipulate content credentials on the server

Usage

# hammer content-credentials [OPTIONS] SUBCOMMAND [ARG] ...
Copy to Clipboard Toggle word wrap

Options

  • -h, --help – Print help

19.1. content-credentials create

Create a Content Credential

Usage

# hammer content-credentials create [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --content-type VALUE – Type of content: “cert”, “gpg_key”
  • --name VALUE – Name of the Content Credential
  • --organization VALUE – Organization name to search by
  • --organization-id NUMBER – Organization identifier
  • --organization-label VALUE – Organization label to search by
  • --organization-title VALUE – Organization title
  • --path FILE – Key file
  • -h, --help – Print help

19.2. content-credentials delete

Destroy a Content Credential

Usage

# hammer content-credentials <delete|destroy> [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --id NUMBER – Content Credential ID
  • --name VALUE – Name to search by
  • --organization VALUE – Organization name to search by
  • --organization-id NUMBER
  • --organization-label VALUE – Organization label to search by
  • --organization-title VALUE – Organization title
  • -h, --help – Print help

19.3. content-credentials info

Show a Content Credential

Usage

# hammer content-credentials <info|show> [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --fields LIST – Show specified fields or predefined field sets only. (See below)
  • --id NUMBER – Content Credential numeric identifier
  • --name VALUE – Name to search by
  • --organization VALUE – Organization name to search by
  • --organization-id NUMBER
  • --organization-label VALUE – Organization label to search by
  • --organization-title VALUE – Organization title
  • -h, --help – Print help

Predefined field sets

Expand
FIELDSALLDEFAULTTHIN

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

 

19.4. content-credentials list

List Content Credentials

Usage

# hammer content-credentials <list|index> [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --content-type VALUE – Type of content
  • --fields LIST – Show specified fields or predefined field sets only. (See below)
  • --full-result BOOLEAN – Whether or not to show all results
  • --name VALUE – Name of the Content Credential
  • --order VALUE – Sort field and order, eg. id DESC
  • --organization VALUE – Organization name to search by
  • --organization-id NUMBER – Organization identifier
  • --organization-label VALUE – Organization label to search by
  • --organization-title VALUE – Organization title
  • --page NUMBER – Page number, starting at 1
  • --per-page NUMBER – Number of results per page to return
  • --search VALUE – Search string
  • -h, --help – Print help

Predefined field sets

Expand
FIELDSALLDEFAULTTHIN

Id

x

x

x

Name

x

x

x

Content type

x

x

 

19.5. content-credentials update

Update a Content Credential

Usage

# hammer content-credentials update [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • --content-type VALUE – Type of content: “cert”, “gpg_key”
  • --id NUMBER – Content Credential ID
  • --name VALUE – Name of the Content Credential
  • --new-name VALUE – Name of the Content Credential
  • --organization VALUE – Organization name to search by
  • --organization-id NUMBER
  • --organization-label VALUE – Organization label to search by
  • --organization-title VALUE – Organization title
  • --path FILE – Key file
  • -h, --help – Print help
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat