Create access secret
documentedCreate an access secret for API access in an environment.
POST /v1/environments/{environment_key}/access_secrets.{format}Environmentsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://core.spreedly.com/v1/environments/{{$environment_key}}/access_secrets" \
-X POST \
-u "{{$environment_key}}:{{SPREEDLY_SECRET}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"access_secret": {"name": "{{$secret_name}}"}}'