Auth Management
You can manage API keys in Flowcore using the Flowcore CLI.
Create API Key
To create an API key, you can use the flowcore api-key create command. This command will create an API key and print the API key to the console.
flowcore auth new key --tenant <tenant-name> <key-name>Delete API Key
To delete an API key, you can use the flowcore api-key delete command. This command will delete an API key, and you will be prompted to confirm the deletion.
flowcore auth delete key --tenant <tenant-name> <key-name>List API Keys
To list all API keys, you can use the flowcore api-key list command. This command will list all API keys in the tenant.
flowcore auth list keys --tenant <tenant-name>Create Secret
To create a secret, you can use the flowcore auth new secret command. This command will create a secret in the tenant that you can use in your scenarios.
flowcore auth new secret --tenant <tenant-name> <secret-name> --from-literal=<secret-value>List Secrets
To list all secrets, you can use the flowcore auth list secrets command. This command will list all secrets in the tenant.
flowcore auth list secrets --tenant <tenant-name>Delete Secret
To delete a secret, you can use the flowcore auth delete secret command. This command will delete a secret, and you will be prompted to confirm the deletion.
flowcore auth delete secret --tenant <tenant-name> <secret-name>