SaltDns.Certificates.Store.S3 (Salt v1.0.0)

The certificate store in an S3-compatible bucket (Garage is the target), path-style addressing, requests signed with AWS Signature Version 4 by Req. Settings (config :salt_dns, SaltDns.Certificates, store_s3: [...]):

  • :endpoint - https://garage.example.org:3900 (SALT_DNS_CERT_STORE_ENDPOINT)
  • :region - garage (SALT_DNS_CERT_STORE_REGION)
  • :bucket (SALT_DNS_CERT_STORE_BUCKET)
  • :access_key_id, :secret_access_key (SALT_DNS_CERT_STORE_ACCESS_KEY_ID, SALT_DNS_CERT_STORE_SECRET_ACCESS_KEY)
  • :req_options - extra options for Req (tests)

An object is written only when a HEAD finds nothing there, so a version is never overwritten (the content is encrypted by SaltDns.Certificates.Store before it gets here). Garage keeps no old versions of an object, which is why every certificate version is a name of its own.