Skip to main content
Choose your provider below and give Replit its configuration to connect your secrets manager and save it to your reusable environment. Replace the example identifiers with your development resources and configure the provider’s trust and permissions first. The modules configure short-lived provider credentials; they do not automatically load secrets into your app.

Connect your secrets manager

Prerequisites: Register https://sts.replit.com as an AWS OIDC provider with audience sts.amazonaws.com, and create the role above. Restrict its trust to your Replit workspace and grant read access to the required secrets. See the detailed AWS instructions.Ask Agent to retrieve the secrets your app needs from the connected provider and configure your app to use them. Tell Agent where to look, such as a specific project, vault, or secret path.
For non-interactive app commands, ask Agent to load ~/.config/replit-oidc/env.sh and follow the runtime instructions in the linked provider README. CLI authentication does not guarantee SDK authentication or credential refresh. Vault and Infisical CLI helpers do not supply credentials to unrelated SDK processes.
Ask Agent to add a secret by name, without typing its value in your message. For example:
Agent can open a secure elicitation form for you to enter the value. The secret is stored securely and scoped to the private chat, rather than placed in your prompt or committed to Git. Use a development credential with only the permissions required; confirm the variable name and scope shown by the form before submitting. Do not assume a chat-scoped secret is available in a different chat or in a reusable environment build.Secure secret-entry form with an empty value field.Alternatively, select + in the editor tab bar, then Secrets.The editor's new-tab menu with Secrets highlighted.Select New Secret, enter the Key and Value, and select Add Secret. Enter credentials in the form, never in chat.The Add Secret form with Key and empty Value fields.