# Functions
GetGenericConfigurationProvider checks auth config paras in config file and return the final configuration provider.
InstancePrincipalConfigurationForRegionWithCustomClient returns a configuration for instance principals with a given region using a modifier function to modify the HTTPRequestDispatcher.
InstancePrincipalConfigurationProvider returns a configuration for instance principals.
InstancePrincipalConfigurationProviderForRegion returns a configuration for instance principals with a given region.
InstancePrincipalConfigurationProviderWithCustomClient returns a configuration for instance principals using a modifier function to modify the HTTPRequestDispatcher.
InstancePrincipalConfigurationWithCerts returns a configuration for instance principals with a given region and hardcoded certificates in lieu of metadata service certs.
InstancePrincipalDelegationTokenConfigurationProvider returns a configuration for obo token instance principals.
ResourcePrincipalConfigurationProvider returns a resource principal configuration provider using well known environment variables to look up token information.
ResourcePrincipalConfigurationProviderWithInterceptor creates a resource principal configuration provider with endpoints a interceptor used to customize the call going to the resource principal token request to the target service see https://godoc.org/github.com/oracle/oci-go-sdk/common#RequestInterceptor.
ResourcePrincipalConfigurationProviderWithPathProvider returns a resource principal configuration provider using path provider.
# Constants
CompartmentOCIDClaimKey is the key used to look up the resource compartment in an RPST.
ResourceID OCID for the resource for Resource Principal.
ResourcePrincipalPrivatePEMEnvVar environment var holding a rsa private key in pem format or a path to one.
ResourcePrincipalPrivatePEMPassphraseEnvVar environment var holding the passphrase to a key or a path to one.
ResourcePrincipalRegionEnvVar environment variable holding a region.
ResourcePrincipalRPSTEnvVar environment var name holding the token or a path to the token.
ResourcePrincipalSessionTokenEndpoint endpoint for retrieving the Resource Principal Session Token.
ResourcePrincipalTokenEndpoint endpoint for retrieving the Resource Principal Token.
ResourcePrincipalTokenPath path for retrieving the Resource Principal Token.
ResourcePrincipalVersion1_1 is a supported version for resource principals.
ResourcePrincipalVersion2_2 is a supported version for resource principals.
ResourcePrincipalVersionEnvVar environment var name for version.
TenancyOCIDClaimKey is the key used to look up the resource tenancy in an RPST.
# Variables
ErrNonStringClaim is returned if the token has a claim for a key, but it's not a string value.
ErrNoSuchClaim is returned when a token does not hold the claim sought.
# Structs
DefaultRptPathProvider path provider makes sure the behavior happens with the correct fallback.
EnvRptPathProvider sets the path and resource ID from environment variables.
ImdsRptPathProvider sets the path from a default value and the resource ID from instance metadata.
StringRptPathProvider is a simple path provider that takes a string and returns it.
Token token.
X509FederationDetails x509 federation details.
# Interfaces
ClaimHolder is implemented by any token interface that provides access to the security claims embedded in the token.
ConfigurationProviderWithClaimAccess mixes in a method to access the claims held on the underlying security token.
PathProvider is an interface that returns path and resource ID.