2.9.5.2
, 2.10.4.4
, or 3.0.0.3
) in order to access this feature. If you want to turn this feature on, please submit a ticket to the support team.snctl get apikey -O your-org-name
.
Field | Description |
---|---|
Name | The name of the API key. |
Expiration date | By default, each API key expires in 30 days. If you want it to be long-lived, you can select No expiration date . |
Service Account | The service account you want to associate the API key with. The one selected in step 2 is auto-populated. |
Instance | The instance where the API key applies (it won’t work for other instances). |
Description (optional) | The descriptive text to introduce the API key. |
producer.properties
or consumer.properties
. The login module describes how the clients like producers and consumers can connect to the cluster. Below is an example configuration for a client for the PLAIN mechanism:
<tenant>/<namespace>
as username
and <API KEY>
in password
.
producer.properties
or consumer.properties
:
password
to connect MQTT clients to StreamNative Cloud clusters.
An example is shown below, where <username>
can be any string and password
is the API key.