foreman_katello_content_credential

Content Credentials are used to store credentials like GPG Keys and Certificates for the authentication to Products / Repositories.

Example Usage

# Autogenerated example with required keys
resource "foreman_katello_content_credential" "example" {
  content = "-----BEGIN PGP PUBLIC KEY BLOCK-----
...
-----END PGP PUBLIC KEY BLOCK-----"
  name = "RPM-GPG-KEY-centos7"
}

Argument Reference

The following arguments are supported:

  • content - (Required) Public key block in DER encoding or certificate content.
  • name - (Required) Identifier of the content credential.

Attributes Reference

The following attributes are exported:

  • content - Public key block in DER encoding or certificate content.
  • name - Identifier of the content credential.