Skip to main content

Configure cloud credentials

Your self-hosted Primary Site needs cloud credentials to import data from Edge Sites. Choose your cloud provider below for configuration steps.

Authenticate using IAM Roles associated with service accounts or access key and secret credentials.

Option 1: Service accounts

  1. Create your IAM Roles with access to the lake and inbox buckets
  2. Set up the EKS OIDC provider for role assumption
  3. Edit the Helm chart's serviceAccount section to add the IAM Role's Amazon Resource Name (ARN) as an annotation for the inboxListener, streamService and garbageCollector services:
serviceAccount:
enabled: true
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::xxxxxxxxxxxx:role/foxglove-inbox-listener-sa-role

Option 2: Access key

Create a cloud-credentials Secret in the foxglove namespace:

apiVersion: v1
kind: Secret
metadata:
name: cloud-credentials
type: Opaque
stringData:
AWS_ACCESS_KEY_ID: AKIAIOSFODNN7EXAMPLE
AWS_SECRET_ACCESS_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
AWS_DEFAULT_REGION: us-west-2

Apply the secret:

kubectl apply -f ./cloud-credentials-secret.yaml -n foxglove
tip

To rotate keys, reapply this file with new values.