{{vault:key}} namespace as local secrets, so your requests don’t need to know where a secret comes from.
Availability: External secret providers, including AWS Secrets Manager, require the desktop app, a signed-in Cloud project, and an eligible plan, and are rolling out gradually. If you don’t see the option to add a provider, update to the latest version or contact support. Local vault remains fully functional without signing in.
Setting up an AWS provider
1
Open the Vault page
Click Vault in the app footer.
2
Connect a provider
Click Connect provider below the Local Secrets section.
3
Enter AWS credentials
Fill in the configuration form:
4
Test the connection
Click Test connection to validate your credentials against AWS. You can still save even if the test fails and fix credentials later.
5
Save
Click Add provider. The AWS Secrets Manager section appears on the Vault page.
Required AWS IAM permissions
Your IAM user or role needs the following permissions:Adding and fetching secrets
1
Add a secret mapping
In the AWS Secrets Manager section, click Add secret. Enter:
- Alias: the key you’ll use in
{{vault:alias}} - Secret Name or ARN: the AWS secret identifier
- Mode:
PlaintextorJSON
2
Fetch the secret
Click Fetch secrets to pull the values. Requestly calls the AWS
GetSecretValue API and stores the result encrypted locally.3
Use it in a request
Reference the secret using
{{vault:alias}} in any request field. It resolves on send just like a local secret.JSON secrets
When an AWS secret contains a JSON object, Requestly auto-expands it into dot-separated keys:{{vault:dbCredentials.username}}resolves toadmin{{vault:dbCredentials.password}}resolves tos3cret{{vault:dbCredentials.host}}resolves todb.example.com
Refreshing secrets after rotation
Fetched values are cached locally and survive app restarts. Requestly also re-fetches every secret of the active configuration automatically when the app starts, so a secret rotated in AWS overnight is usually current before you send your first request. While that startup fetch runs, the Secret Provider section shows a “Loading secrets from provider at startup” banner. If the startup fetch fails, a warning banner names the affected configuration and offers a Fetch secrets button to retry. You can click Fetch secrets at any time to pull the current values for every row in the section. The Last fetched label next to the configuration selector helps you judge staleness.Multiple AWS configurations
You can store multiple AWS configurations (e.g., Production, Staging, EU region) and switch between them:- Click the config selector in the AWS section header
- Select a different configuration. The secrets table swaps to that config’s secrets.
{{vault:key}}references resolve from the active configuration only
Credential errors
When AWS credentials expire or become invalid:- The affected secret row shows an error message
- The provider config section shows an error indicator
- The failed secret’s cached value is cleared from disk and memory, so
{{vault:alias}}stops resolving until a fetch succeeds. Only the rows that failed are affected.
Move to local
You can convert any AWS secret to a local vault secret:- Select Move to local on an AWS secret
- The secret moves to the Local Secrets section with the last fetched value preserved
- It becomes fully editable and is no longer linked to AWS
FAQ
Can I use multiple AWS accounts at the same time?
Can I use multiple AWS accounts at the same time?
You can store multiple AWS configurations, but only one is active at a time. The active config’s secrets are the ones that resolve via
{{vault:key}}. Switch between configs using the config selector in the AWS section header.Do vault secrets auto-refresh when rotated in AWS?
Do vault secrets auto-refresh when rotated in AWS?
No. Fetched values are cached locally and persist until you refresh them. Click Fetch secrets to pull the latest values from AWS.
Can scripts modify AWS secrets?
Can scripts modify AWS secrets?
No.
rq.vault is read-only from scripts. Only rq.vault.get(), rq.vault.has(), and rq.vault.toObject() are available. Manage AWS secrets from the Vault page or in AWS directly.
