Prerequisites
- A Secureframe user with the Super Admin access role. Only Super Admins can create API keys.
- Your Secureframe region: US (
app.secureframe.com) or UK (app-uk.secureframe.com). - The Admin role in your CloudThinker workspace. See Roles.
Setup
1
Create the API key in Secureframe
In Secureframe, open your profile in the top right, then click Company Settings. Open the API keys tab and click Create API Key. Assign an Owner, such as a dedicated service user, add an API Key Name such as
cloudthinker, then click Generate Key.Copy the key and the secret. Secureframe shows the secret only once. See Secureframe’s API key instructions.2
Connect in CloudThinker
Open Settings → Workspace → Connections, open the Discover tab, and select Secureframe. Click Connect, fill in the fields below, then click Connect in the dialog. CloudThinker reads your frameworks and counts failing tests.Success state: the connection shows a Connected status and a message such as
Connected to Secureframe (us); <count> frameworks, <count> failing tests. CloudThinker then opens a chat that takes a read-only deep look at the connection (“Often takes about 15 min. You can leave the chat.”). To run it again later, open the card’s More menu and choose Try in chat.Connection details
Required permissions
A Secureframe API key runs with the permissions of the user it belongs to, and Secureframe has no read-only key. If the owner’s role can change tests or another area, the key can too.Agent capabilities
Secureframe doesn’t expose the resources behind a failing test, so agents give its failure message and remediation instead. A section that failed is unavailable data, not an empty list.
Agents can’t enable, disable, or pass a test, reassign one, upload evidence, or archive anything. Make those changes in Secureframe.
Verify the connection
Example prompts
Troubleshooting
Secureframe rejected the API key and secret. Check both, and the region of your tenant.
Secureframe rejected the API key and secret. Check both, and the region of your tenant.
Check that you copied both values whole and that Region matches the address you sign in at. If you lost the secret, generate a new key.
The API key's user cannot read frameworks. Give the service user a role that can read.
The API key's user cannot read frameworks. Give the service user a role that can read.
The key’s owner can’t read frameworks. Give that user a role with read access, then connect again.
The API key's user cannot read tests. Give the service user a role that can read.
The API key's user cannot read tests. Give the service user a role that can read.
The owner can read frameworks but not tests. Widen the role’s read access, then connect again. During an investigation, HTTP 403 on another area means the role can’t read that area.
Secureframe rate-limited the credential. Try again in a minute.
Secureframe rate-limited the credential. Try again in a minute.
Secureframe limited the number of requests. Wait a minute, then ask about one area at a time.
Could not reach the Secureframe API over HTTPS. Check the network path.
Could not reach the Secureframe API over HTTPS. Check the network path.
CloudThinker couldn’t reach Secureframe for your region. Check Region, then connect again.
Security
- Least privilege — grant only the permissions the agents need for your use case; start read-only and widen later.
- Read-only by default — use read-only credentials unless you want agents to make changes through this connection.
- Rotate credentials — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
- Revoke on offboarding — remove the credential at the provider when you delete a connection or a teammate leaves.
- The key can do whatever its owner’s role allows, so give the owner a read-only role, not a Super Admin account.
- Revoke the key in Company Settings → API keys when you disconnect, and create a new one if the secret is exposed.
Related
Drata
Track failing tests, control readiness, and personnel.
Prowler
Review security findings, checks, and cloud compliance.