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.
| Template | Holds | Used by |
|---|---|---|
| Properties Configuration | Settings as key=value | Integrations |
| Secure Properties Configuration | Sensitive settings as key=value | Integrations |
| Resources File | One or several files | Integrations |
| Secure Resources File | One or several sensitive files | Integrations, the registry of an environment |
| Git Repository Credentials | Access to a private Git repository | Integrations built from a private repository |
| Image Registry | Access to a container registry | Camel Integration Service |
| Maven Settings | Maven settings.xml | Camel Integration Service |
| TLS Certificate | A certificate, its private key and its authority | Gateways, messaging clusters, the Kafka log destination |
| S3 Credentials | An AWS access key | Messaging clusters on S3 |
| Username and Password | A user name and its password | Log destinations, PostgreSQL storage of messaging clusters |
| API Keys | Keys, one per client | API key policy |
| Basic Auth Users | Users and passwords | User name and password policy |
| Client Credentials | A client ID and its secret | Sign-in policy |
| Lua Script | A script | Custom policies |
| Auth Gateway Clients | Applications allowed to obtain tokens | Auth gateways |
| Logging API Key | One API key | Log destinations |
| Logging Splunk HEC Token | A Splunk token | Splunk log destination |
| Private Link Shared Key | A key shared with a remote network | IPsec private links |
Lifecycle of a configuration
- Create it from a template and fill it in.
- 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.
- 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:
- with its Resources setting, at the place you choose;
- with its JVM setting, for the certificate authorities it trusts. See Trust a Private Certificate Authority.
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.
| Field | What it is |
|---|---|
| Git Provider | GitHub, GitLab, Gitea or another |
| Repository URL | Such as https://github.com/org/repo or git@github.com:org/repo.git |
| Access Token | Issued by the provider |
| Username, Email | Optional; needed by some providers |
For the environment
Image Registry
Access to the container registry the integrations of an environment are published to.
| Field | What it is | Default |
|---|---|---|
| Registry | Its address | index.docker.io |
| Username, Password, Email | The account used | — |
| Skip TLS verification | Accept a certificate that cannot be verified | Off |
| Use HTTP | Reach the registry without encryption | Off |
Chosen as the Pull Secret of the registry of an environment.
Maven Settings
The Maven configuration used when integrations are built.
| Field | What it is |
|---|---|
| Maven Settings | The content of settings.xml. Required. |
| Maven Security Settings | The content of settings-security.xml, when passwords in the settings are encrypted. |
Chosen in the Maven setting of an environment.
Private Link Shared Key
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.
| Field | What it is |
|---|---|
| Certificate | The certificate, with its intermediates |
| Private Key | The key of that certificate |
| Certificate Authority | The 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:
- the authentication of a log destination: Elasticsearch, OpenSearch, Loki, an HTTP endpoint or Kafka over SASL, whose mechanism is set on the destination;
- the Credentials of a messaging cluster on PostgreSQL.
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.