# Functions
New takes an IdentityProviderConfig and returns a Provider or an error if the configuration is invalid.
# Constants
FormatTypeJSON indicates that the response is a JSON payload that contains the access_token.
FormatTypeValue indicates that the value itself contains the access_token.
# Structs
AWSCredentialSource sources credentials by interacting with the AWS IMDS endpoint to sign an AWS GetCallerIdentity request.
CredentialFormat configures how to extract the credential from the source value.
CredentialTokenSource sources credentials via a directly supplied token.
EnvironmentVariableCredentialSource sources credentials by reading the specified environment variable.
FileCredentialSource sources credentials by reading the file at the given path.
IdentityProviderConfig configures how to source a workload credential and exchange it for an HCP Service Principal access token using Workload Identity Federation.
Provider sources a workload token and exchanges it for a HCP service principal access token.
URLCredentialSource sources credentials by making an HTTP request to the given URL.