Create a key in MeshAgent Studio
- Open your project in MeshAgent Studio.
- Go to API Keys.
- Create a new key and record the secret value. The secret is shown once.
Create a key with the CLI
You can also generate a key with the MeshAgent CLI. The value is only shown once.Best practices
- Rotate regularly and delete unused keys.
- Store keys securely in a secret manager or CI vault.
- Avoid sharing keys across multiple services.