CMS User Reference
A user is a SCRAM account of a cluster. It is deployed as a User
resource of cms.camelx.io/v1alpha1, and listed on the Users tab of its cluster.
A user is only offered on a cluster where Clients sign in is on: its Users tab says so otherwise. The account is named after the user, whose name the console generates.
User Settings
| Field | What it is | Default |
|---|---|---|
| Alias | The name the user is shown under in the console | None |
| Sign-in method | SCRAM-SHA-512 or SCRAM-SHA-256; the cluster must accept it | SCRAM-SHA-512 |
| Change the password every | 1, 7 or 15 days, 1, 3, 6 or 12 months | Never |
The name of the User resource, which is also the user name clients sign in with, is not a field:
the console generates it as it does for namespaces, an n followed by 20 lowercase letters and
digits, such as n4f90d13a42p8kiw3s5o7. It is shown in the list of users and in the Password
configuration.
The password is always generated by the operator, in the Password configuration below. Deleting a
user deletes its account from the cluster (deletionPolicy: Delete).
The cluster is not a field: a user is created from the page of its cluster, and carries its name in
the label cms.camelx.io/cluster of its application, where the cms-user definition reads it.
Connection Secret
Once deployed, a user has two Secrets in the namespace of its environment, shown on its page:
| Holds | |
|---|---|
| Connection configuration | What a Kafka client is configured with: bootstrap.servers, security.protocol, sasl.mechanism and sasl.jaas.config |
| Password configuration | The user name and the password, under the keys username and password |
Status
Conditions say whether the account exists in the cluster. A user whose cluster is not ready, or has no SCRAM, reports it there.
A user is removed from its cluster by the operator of the environment. That operator must still run when the user is deleted.