Skip to main content

Configure cloud credentials

Your remote data loader needs read and write credentials for a cache bucket. 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 your cache bucket.

  2. Set up the EKS OIDC provider for role assumption

  3. Edit the Helm chart values.yaml file to enable service accounts and include the IAM role's Amazon Resource Name (ARN) annotation for each of the deployments in the site.

    For example:

    remoteDataLoader:
    deployment:
    serviceAccount:
    enabled: true
    annotations:
    eks.amazonaws.com/role-arn: arn:aws:iam::xxxxxxxxxxxx:role/foxglove-remote-data-loader-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.