csph secret-source create
connect a secret manager (the secret is read from stdin or a prompt, never a flag)
Usage
csph secret-source create <name> [flags]
Options
Command Specific
Inherited
Examples
# Doppler: the service token is read from stdin
> printf '%s' "$DOPPLER_TOKEN" | csph secret-source create app-doppler --type doppler \
--setting project=web --setting config=prd --allow web=production
# Azure Key Vault: the app's client ID is a flag, its client secret is read from stdin
> printf '%s' "$CLIENT_SECRET" | csph secret-source create app-vault --type azure-kv \
--setting tenant_id=<tenant-id> --setting vault=<vault-name> \
--sign-in client_id=<client-id> --allow-all
See also
- csph secret-source — manage the account's secret managers and where they can be used
- csph secret-source list — list the account's secret managers
- csph secret-source access — set where a secret manager can be used (replaces the whole list)
- csph secret-source test — test that ComputeSphere can sign in to a secret manager
- csph secret-source delete — remove a secret manager