Create an IAM user
Create a dedicated IAM user for StackOne so its access can be managed and revoked independently of your own.
Sign in to AWS
Sign in to your AWS IAM console.
- Navigate to Users > Create user.
Set the user name
Enter a name for the user and continue.
- Example:
stackone-bedrock - Click Next.
Attach permissions
Grant the user access to Amazon Bedrock.
- Select Attach policies directly.
- Attach AmazonBedrockFullAccess, or a custom policy scoped to the Bedrock actions you need (for example
bedrock:InvokeModel,bedrock:InvokeAgent,bedrock:Retrieve,bedrock:RetrieveAndGenerate,bedrock:ListFoundationModels,bedrock:ListAgents,bedrock:ListKnowledgeBases). - Click Next, then Create user.
Create an access key
Generate the Access Key ID and Secret Access Key that StackOne uses to sign requests.
Open the user's security credentials
From Users, select the user you just created and open the Security credentials tab.
- Under Access keys, click Create access key.
Choose a use case
Select Third-party service as the use case.
- Acknowledge the recommendation, then click Next.
- (Optional) Add a description tag, then click Create access key.
Copy the Access Key ID and Secret Access Key
Copy both values and store them securely for use later.
- Access Key ID format:
AKIAIOSFODNN7EXAMPLE - The Secret Access Key is shown only once — if you lose it, delete the access key and create a new one.
- Leave Session Token blank when you use this long-term access key.
Use temporary credentials (optional)
If your organization doesn’t allow long-term access keys, connect with temporary credentials from AWS Security Token Service (STS) instead, such as those returned by aws sts assume-role or aws sts get-session-token, or copied from the AWS access portal for IAM Identity Center.
- Enter all three values STS returns - the Access Key ID (starts with
ASIA), the Secret Access Key and the Session Token. - The identity behind the credentials needs the same Bedrock permissions as the IAM user above.
- Temporary credentials expire (after 1 hour by default for an assumed role, and at most 36 hours), and StackOne does not renew them. Generate a new set and update the connection before they expire.
Find your AWS Region
Use the Region that hosts your Bedrock resources, such as agents, knowledge bases, guardrails and custom models.
- Check the Region selector in the top-right of the AWS console.
- Enter the Region code, not the display name
- Example:
US East (N. Virginia)isus-east-1, andUS West (Oregon)isus-west-2
Link the Account
Connect
- Click Connect.
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup.
Use Actions