API Keys, Service Accounts, and Certificate Credentials
Some connectors use an API key, service account, or certificate instead of interactive sign-in. Use the credential type shown by the selected connector.
Before you begin
Permission to create the credential in the provider and add a connection in StackAI.
Credential types
API key
A secret credential accepted by a supported API or connector. Send it only through the documented authentication field or header.
Service account
An account used for application access rather than an individual’s interactive session. Grant access to the intended provider resources and follow that provider’s setup requirements.
Certificate credential
Authentication material that uses a certificate and, where required, its corresponding private key. Preserve the requested format; a certificate and its private key are not interchangeable.
PEM
A text format used for some certificates and keys, with boundary lines around encoded data. Keep its headers, footers, and line breaks when the connector requires PEM.
Secret
Sensitive configuration such as a credential. Use supported secret fields and avoid exposing values in prompts, logs, or screenshots.
Configure provider credentials
Open the provider’s integration page and select a supported authentication method.

Check the selected connector’s credential fields and application settings.
Create the credential in the provider with the required resource access.
Enter each value in its matching StackAI connection field and save. Confirm access with a read operation.
The saved connection can access the intended provider resources.
Behavior and limitations
An API key, client secret, certificate, and private key are different credential types. Preserve required PEM headers and line breaks. Do not paste secrets into prompts, workflow descriptions, or public documentation. Provider-specific account IDs, regions, domains, and scopes remain necessary when the connector requests them.
Related resources
Was this helpful?

