Skip to content

Conversation

@rakshasa-1729
Copy link

Summary

Related to #578

Adds support for the external_account service account type, which is used in Workload Identity Federation.

@rakshasa-1729 rakshasa-1729 requested review from a team, TheKevJames and cphoward as code owners June 6, 2025 18:43
@rakshasa-1729 rakshasa-1729 requested review from eddiedialpad, gabija-dialpad and olidp and removed request for a team June 6, 2025 18:43
@rakshasa-1729
Copy link
Author

@TheKevJames Could use some help triggering the integration tests once

@cagataygurturk
Copy link

Hi any ETA here?

"""Get the subject token from the credential source."""
source_type = credential_source.get('type')
if not source_type:
raise ValueError('Credential source missing type')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, the source_type property is not mandatory as far as I understand. When we download a configuration file, this is what we get:

{
  "universe_domain": "googleapis.com",
  "type": "external_account",
  "audience": "WORKLOAD_IDENTITY_PROVIDER_ID",
  "subject_token_type": "urn:ietf:params:oauth:token-type:jwt",
  "token_url": "https://sts.googleapis.com/v1/token",
  "credential_source": {
    "file": "/var/run/secrets/kubernetes.io/serviceaccount/token",
    "format": {
      "type": "text"
    }
  }
}

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants