Questo contenuto non è disponibile nella lingua selezionata.

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
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat