Secrets
ProSecrets are set as environment variables whose values are placeholders. When requests leave the sandbox, they get automatically overwritten by the secrets you set up.
Environment variables
$NAME contains the placeholder value. Use $NAME_URL/<path> to send an authenticated request through the gateway to the secret's first configured host.
Base URLs
For secrets configured for api.anthropic.com, api.openai.com or api.github.com, Orble also sets the corresponding ANTHROPIC_BASE_URL, OPENAI_BASE_URL or GITHUB_API_URL environment variable.
Limits
Configure up to 50 secrets per account. Credential injection is limited to HTTP headers.
HTTPS interception
With --intercept, the account's certificate authority is installed in the box's trust store.
$ orble secret set STRIPE_API_KEY --host api.stripe.com$ curl $STRIPE_API_KEY_URL/v1/balance
orble secret set <NAME> --host <host>Create or update a secret. Provide the value at the prompt or through standard input
--header <name> --format <format>Specify the HTTP header and value format for secret injection, for example
AuthorizationandBearer {}. Defaults depend on the destination host--box <box>Restrict the secret to the specified box; repeat for additional boxes. Without this option, the secret is available to all current and future boxes in the project
--interceptEnable HTTPS interception to replace the
$NAMEplaceholder in the configured header of requests to the secret's hostsorble secret lsList secret names and configuration without revealing secret values
orble secret copy <NAME> --to <project,...>Copy a secret, with its value and settings, to other projects
orble secret copy <NAME> --remove <project,...>Delete the secret with that name from other projects
orble secret rm <NAME>Delete a secret from the project