This Docker image provides a small, Alpine-based derivative of
curlimages/curl
that contains
jq
. Pass your API key and secret for
Acquia Cloud API and curl
will obtain and
send an access token with your request.
Required environment variables:
ACQUIA_API_KEY
andACQUIA_API_SECRET
; see Acquia's documentation.
Export your environment variables, then:
docker run -e ACQUIA_API_KEY -e ACQUIA_API_SECRET --rm fruition/acquia-oauth-curl https://cloud.acquia.com/api/account
Would you rather offload CI/CD to the experts at Fruition? Learn more about our fully-managed, Kubernetes hosting platform.
© Fruition Growth, LLC. MIT license.