Versions in this module Expand all Collapse all v44 v44.0.0 Jul 13, 2021 Changes in this version + const CompartmentOCIDClaimKey + const ResourceID + const ResourcePrincipalPrivatePEMEnvVar + const ResourcePrincipalPrivatePEMPassphraseEnvVar + const ResourcePrincipalRPSTEnvVar + const ResourcePrincipalRegionEnvVar + const ResourcePrincipalSessionTokenEndpoint + const ResourcePrincipalTokenEndpoint + const ResourcePrincipalTokenPath + const ResourcePrincipalVersion1_1 + const ResourcePrincipalVersion2_2 + const ResourcePrincipalVersionEnvVar + const TenancyOCIDClaimKey + var ErrNoSuchClaim = errors.New("no such claim") + var ErrNonStringClaim = errors.New("claim does not have a string value") + func GetGenericConfigurationProvider(configProvider common.ConfigurationProvider) (common.ConfigurationProvider, error) + func InstancePrincipalConfigurationForRegionWithCustomClient(region common.Region, ...) (common.ConfigurationProvider, error) + func InstancePrincipalConfigurationProvider() (common.ConfigurationProvider, error) + func InstancePrincipalConfigurationProviderForRegion(region common.Region) (common.ConfigurationProvider, error) + func InstancePrincipalConfigurationProviderWithCustomClient(...) (common.ConfigurationProvider, error) + func InstancePrincipalConfigurationWithCerts(region common.Region, leafCertificate, leafPassphrase, leafPrivateKey []byte, ...) (common.ConfigurationProvider, error) + func InstancePrincipalDelegationTokenConfigurationProvider(delegationToken *string) (common.ConfigurationProvider, error) + func ResourcePrincipalConfigurationProviderWithInterceptor(instancePrincipalProvider common.ConfigurationProvider, ...) (common.ConfigurationProvider, error) + type ClaimHolder interface + GetClaim func(key string) (interface{}, error) + type ConfigurationProviderWithClaimAccess interface + func ResourcePrincipalConfigurationProvider() (ConfigurationProviderWithClaimAccess, error) + func ResourcePrincipalConfigurationProviderWithPathProvider(pathProvider PathProvider) (ConfigurationProviderWithClaimAccess, error) + type DefaultRptPathProvider struct + func (pp DefaultRptPathProvider) Path() (*string, error) + func (pp DefaultRptPathProvider) ResourceID() (*string, error) + type EnvRptPathProvider struct + func (pp EnvRptPathProvider) Path() (*string, error) + func (pp EnvRptPathProvider) ResourceID() (*string, error) + type ImdsRptPathProvider struct + func (pp ImdsRptPathProvider) Path() (*string, error) + func (pp ImdsRptPathProvider) ResourceID() (*string, error) + type PathProvider interface + Path func() (*string, error) + ResourceID func() (*string, error) + type StringRptPathProvider struct + func (pp StringRptPathProvider) Path() (*string, error) + func (pp StringRptPathProvider) ResourceID() (*string, error) + type Token struct + Token string + type X509FederationDetails struct + Certificate string + IntermediateCertificates []string + PublicKey string Other modules containing this package github.com/oracle/oci-go-sdk github.com/oracle/oci-go-sdk/v25 github.com/oracle/oci-go-sdk/v26 github.com/oracle/oci-go-sdk/v27 github.com/oracle/oci-go-sdk/v28 github.com/oracle/oci-go-sdk/v29 github.com/oracle/oci-go-sdk/v30 github.com/oracle/oci-go-sdk/v31 github.com/oracle/oci-go-sdk/v32 github.com/oracle/oci-go-sdk/v33 github.com/oracle/oci-go-sdk/v34 github.com/oracle/oci-go-sdk/v35 github.com/oracle/oci-go-sdk/v36 github.com/oracle/oci-go-sdk/v37 github.com/oracle/oci-go-sdk/v38 github.com/oracle/oci-go-sdk/v39 github.com/oracle/oci-go-sdk/v40 github.com/oracle/oci-go-sdk/v41 github.com/oracle/oci-go-sdk/v42 github.com/oracle/oci-go-sdk/v43 github.com/oracle/oci-go-sdk/v45 github.com/oracle/oci-go-sdk/v46 github.com/oracle/oci-go-sdk/v47 github.com/oracle/oci-go-sdk/v48 github.com/oracle/oci-go-sdk/v49 github.com/oracle/oci-go-sdk/v50 github.com/oracle/oci-go-sdk/v51 github.com/oracle/oci-go-sdk/v52 github.com/oracle/oci-go-sdk/v53 github.com/oracle/oci-go-sdk/v54 github.com/oracle/oci-go-sdk/v55 github.com/oracle/oci-go-sdk/v56 github.com/oracle/oci-go-sdk/v57 github.com/oracle/oci-go-sdk/v58 github.com/oracle/oci-go-sdk/v59 github.com/oracle/oci-go-sdk/v60 github.com/oracle/oci-go-sdk/v61 github.com/oracle/oci-go-sdk/v62 github.com/oracle/oci-go-sdk/v63 github.com/oracle/oci-go-sdk/v64 github.com/oracle/oci-go-sdk/v65