package
65.85.0
Repository: https://github.com/oracle/oci-go-sdk.git
Documentation: pkg.go.dev

# 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.
InstancePrincipalDelegationTokenConfigurationProviderForRegion returns a configuration for obo token instance principals with a given region.
NewDefaultServiceAccountTokenProvider returns a new instance of defaultServiceAccountTokenProvider.
NewSuppliedServiceAccountTokenProvider returns a new instance of defaultServiceAccountTokenProvider.
OkeWorkloadIdentityConfigurationProvider returns a resource principal configuration provider by OKE Workload Identity.
OkeWorkloadIdentityConfigurationProviderWithServiceAccountTokenProvider returns a resource principal configuration provider by OKE Workload Identity with service account token provider.
No description provided by the author
ResourcePrincipalConfigurationProvider returns a resource principal configuration provider using well known environment variables to look up token information.
ResourcePrincipalConfigurationProviderForRegion returns a resource principal configuration provider using well known environment variables to look up token information, for a given region.
ResourcePrincipalConfigurationProviderV3 ResourcePrincipalConfigurationProvider is a function that creates and configures a resource principal.
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.
ResourcePrincipalDelegationTokenConfigurationProvider returns a configuration for obo token resource principals.
ResourcePrincipalDelegationTokenConfigurationProviderForRegion returns a configuration for obo token resource principals with a given region.
ResourcePrincipalV3ConfiguratorBuilder creates a new resourcePrincipalV30ConfiguratorBuilder.

# Constants

CompartmentOCIDClaimKey is the key used to look up the resource compartment in an RPST.
DefaultKubernetesServiceAccountCertPath that contains cluster information.
KubernetesProxymuxServicePort environment var holding the kubernetes port.
KubernetesServiceAccountTokenPath that contains cluster information.
KubernetesServiceHostEnvVar environment var holding the kubernetes host.
OciKubernetesServiceAccountCertPath Environment variable for Kubernetes Service Account Cert Path.
No description provided by the author
ResourceID OCID for the resource for Resource Principal.
ResourcePrincipalPrivatePEMEnvVar environment var holding a rsa private key in pem format or a path to one.
No description provided by the author
ResourcePrincipalPrivatePEMPassphraseEnvVar environment var holding the passphrase to a key or a path to one.
No description provided by the author
ResourcePrincipalRegionEnvVar environment variable holding a region.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ResourcePrincipalRPSTEnvVar environment var name holding the token or a path to the token.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ResourcePrincipalSessionTokenEndpoint endpoint for retrieving the Resource Principal Session Token.
No description provided by the author
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.
ResourcePrincipalVersion3_0 is a supported version for resource principals.
ResourcePrincipalVersionEnvVar environment var name for version.
No description provided by the author
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.
DefaultServiceAccountTokenProvider is supplied by user when instantiating OkeWorkloadIdentityConfigurationProvider.
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.
No description provided by the author
StringRptPathProvider is a simple path provider that takes a string and returns it.
SuppliedServiceAccountTokenProvider is supplied by user when instantiating OkeWorkloadIdentityConfigurationProviderWithServiceAccountTokenProvider.
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.
ServiceAccountTokenProvider comment.