Authentication¶
Set up the communication between the Aiven Operator and the Aiven Platform by using a token stored in a Kubernetes Secret.
You can then refer to the Secret's name on every custom resource in the authSecretRef
field.
Prerequisites¶
An Aiven user account. Sign up for free.
Store a token in a Secret¶
1. Create a personal token in the Aiven Console.
2. To create a Kubernetes Secret, run:
Where TOKEN
is your personal token. This creates a Secret named aiven-token
.
When managing your Aiven resources, you use the Secret in the authSecretRef
field. The following is an example
for a PostgreSQL service with the token: