Skip to main content

Configuration Template Reference

A template is a kind of configuration: it decides which fields a configuration has and what it is used for. When you create a configuration you first choose its template; the right form then appears.

This page describes every template, what to put in it, and where it is used.

Template summary​

Every configuration is created from a template. The table lists them by who consumes the configuration; the sections below describe each one.

TemplateHoldsUsed by
Properties ConfigurationSettings as key=valueIntegrations
Secure Properties ConfigurationSensitive settings as key=valueIntegrations
Resources FileOne or several filesIntegrations
Secure Resources FileOne or several sensitive filesIntegrations, the registry of an environment
Git Repository CredentialsAccess to a private Git repositoryIntegrations built from a private repository
Image RegistryAccess to a container registryCamel Integration Service
Maven SettingsMaven settings.xmlCamel Integration Service
TLS CertificateA certificate, its private key and its authorityGateways, messaging clusters, the Kafka log destination
S3 CredentialsAn AWS access keyMessaging clusters on S3
Username and PasswordA user name and its passwordLog destinations, PostgreSQL storage of messaging clusters
API KeysKeys, one per clientAPI key policy
Basic Auth UsersUsers and passwordsUser name and password policy
Client CredentialsA client ID and its secretSign-in policy
Lua ScriptA scriptCustom policies
Auth Gateway ClientsApplications allowed to obtain tokensAuth gateways
Logging API KeyOne API keyLog destinations
Logging Splunk HEC TokenA Splunk tokenSplunk log destination
Private Link Shared KeyA key shared with a remote networkIPsec private links

Lifecycle of a configuration​

  1. Create it from a template and fill it in.
  2. Make it available to the environments that need it. A configuration that exists but was not made available to an environment cannot be used there.
  3. Choose it in the field that asks for it. Every such field only offers the configurations of the templates it accepts, and lets you create one or make one available without leaving the form.

Passwords, keys and tokens are hidden on the page of a configuration until you ask to see them. Some values are kept only as a fingerprint and cannot be read back at all: the keys of an API keys list, the passwords of basic auth users, and the secrets of clients. Copy them when they are made.

For integrations​

Properties Configuration​

Settings written as key=value, one per line, or loaded from a .properties file.

orders.timeout=30
orders.retries=3

An integration loads them as a property file when the configuration is chosen in its Configuration setting.

Secure Properties Configuration​

The same as a Properties Configuration, for sensitive values such as passwords: the content is hidden on its page until you ask to see it.

Resources File​

One or several files, dropped into the form. Each file is kept under its own name.

An integration receives them as files:

Secure Resources File​

The same as a Resources File, for sensitive files such as keystores: their content is hidden on the page until you ask to see it. Also accepted for the certificate authority of the registry of an environment.

Git Repository Credentials​

Access to a private Git repository, for integrations built from it.

FieldWhat it is
Git ProviderGitHub, GitLab, Gitea or another
Repository URLSuch as https://github.com/org/repo or git@github.com:org/repo.git
Access TokenIssued by the provider
Username, EmailOptional; needed by some providers

For the environment​

Image Registry​

Access to the container registry the integrations of an environment are published to.

FieldWhat it isDefault
RegistryIts addressindex.docker.io
Username, Password, EmailThe account used—
Skip TLS verificationAccept a certificate that cannot be verifiedOff
Use HTTPReach the registry without encryptionOff

Chosen as the Pull Secret of the registry of an environment.

Maven Settings​

The Maven configuration used when integrations are built.

FieldWhat it is
Maven SettingsThe content of settings.xml. Required.
Maven Security SettingsThe content of settings-security.xml, when passwords in the settings are encrypted.

Chosen in the Maven setting of an environment.

The key an environment and a remote network agree on to open an IPsec private link. At least 20 characters, without quotes or spaces. It can be generated on its page.

For gateways and APIs​

TLS Certificate​

A certificate, its private key and the certificate of the authority that signed it, in PEM format, pasted or loaded from a file. It is stored as a kubernetes.io/tls Secret with the keys tls.crt, tls.key and ca.crt.

FieldWhat it is
CertificateThe certificate, with its intermediates
Private KeyThe key of that certificate
Certificate AuthorityThe certificate of the authority that signed it: what the other side trusts

ca.crt is the authority, never a copy of the certificate: the platform does not use self-signed certificates.

Used for:

  • the HTTPS access points of a gateway;
  • the certificate a gateway presents to a backend that requires one;
  • the certificate authority of the registry of an environment;
  • the certificate of the brokers of a messaging cluster;
  • the authority and the client certificate of a Kafka log destination.

For messaging​

S3 Credentials​

An AWS access key: Access key ID and Secret access key, stored under AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. Chosen as the Access key of a messaging cluster on S3.

Username and Password​

A user name and its password, stored under the keys username and password. Every configuration that holds only these two values uses this template, whatever signs in with them.

Used for:

Configurations made with the former templates Logging Basic Auth and Kafka SASL Credentials hold the same keys. They are still shown and changed in Secret Manager, but selectors offer them again only once they carry the username-password label.

API Keys​

A list of keys, one per client. The name of the client is what your service receives when the policy forwards the caller's identity. A key cannot be read back once saved.

Chosen in the API key rule of a security policy.

Basic Auth Users​

A list of users with their passwords. Passwords are kept as fingerprints: they cannot be recovered, only replaced.

Chosen in the user name and password rule of a security policy.

Client Credentials​

A client ID and its client secret, as issued by an identity provider for your application.

Chosen in a sign-in policy.

Lua Script​

A script stored once and used in any number of custom policies. It runs on each request and response.

Auth Gateway Clients​

A list of the applications allowed to obtain tokens from an auth gateway. A list is created empty and filled in on its page. See Lists of Clients.

For log destinations​

These hold the credentials a log destination needs.

Logging API Key​

One API key, for destinations that authenticate with a key, such as Datadog or Elasticsearch.

A Kafka destination takes its credentials from Username and Password and its certificates from TLS Certificate.

Logging Splunk HEC Token​

The token of a Splunk HTTP Event Collector.