Skip to content

Use workload identity federation instead of credentials file for GCP #10

Description

@mfairley

The current protocol requires providing a key for a service account so that LiveKit can generate a JWT token for Google Cloud Storage. But Google recommends against using service account keys for security reasons. Instead they recommend using workload identity federation. Could LiveKit support the recommended workload identity federation for authentication with GCP?

Relevant part of LiveKit:

storage/gcp.go

Line 48 in 0dabf99

jwtConfig, err := google.JWTConfigFromJSON([]byte(conf.CredentialsJSON), storageScope)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions