package
0.8.10
Repository: https://github.com/fnproject/fn_go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Oracle Provider

This provides Oracle Cloud Infrastructure (OCI) signing support for the FN golang SDK

Configuration:

With the provider set to oracle the following settings apply:

The provider can read most of it's settings from OCI configuration file: (~/.oci/config)

KeyExampleRequiredRead from ~/.oci/configDescription
api-urlhttps://functions.us-ashburn-1.oraclecloud.com/YesNoThe API endpoint to contact for accessing the service API
oracle.compartment-idocid1.compartment.oc1..aaaaaaaajvunnz.....YesNoThe compartment OCID for the functions tenancy - this corresponds to where you want functions objects to exist in OCI
oracle.tenancy-idocid1.tenancy.oc1..aaaaaaaai4w6iipzc73k3s2....NoYesThe tenancy of the user accessing the service
oracle.user-idocid1.user.oc1..aaaaaaaay2df7zq4lgv7....NoYesThe OCID of the user accessing the API
oracle.fingerprint30:c1:f8:98:38:be:bb...NoYesThe RSA key fingerprint of the key being used
oracle.key-file/home/myuser/.oci/private_key.pemNoYes (key_file)The private key for the registered API key
oracle.pass-phraseNoYes(pass_phrase )
oracle.profileNoNoDefaults to DEFAULT - the OCI Configuration profile to use for reading OCI information
oracle.disable-certstrueNoNoIgnore SSL host name checks when contacting the server (should only be used for diagnosis and testing)

With the provider set to oracle-ip, and the CLI hosted on an OCI instance, the following settings apply:

KeyExampleRequiredRead from ~/.oci/configDescription
api-urlhttps://functions.us-ashburn-1.oraclecloud.com/NoNoThe API endpoint to contact for accessing the service API. If unset, it will construct a local endpoint from the instance's region
oracle.compartment-idocid1.compartment.oc1..aaaaaaaajvunnz.....NoNoThe compartment OCID for the functions tenancy - this corresponds to where you want functions objects to exist in OCI. It defaults to the instance compartment
oracle.disable-certstrueNoNoIgnore SSL host name checks when contacting the server (should only be used for diagnosis and testing)

For the Instance Principal provider, the instance must be in a dynamic group that has been granted the rights to use and/or manage functions, as well as their associated resources.

With the provider set to oracle-cs, and the CLI running on an OCI Cloudshell machine, the following settings apply:

The provider can read most of it's settings from the OCI CLI configuration file: (/etc/oci/config)

KeyExampleRequiredRead from OCI CLI ConfigDescription
api-urlhttps://functions.us-ashburn-1.oraclecloud.com/NoNoThe API endpoint to contact for accessing the service API. If unset, it will construct a local endpoint from the region in the default region OCI CLI profile
oracle.compartment-idocid1.compartment.oc1..aaaaaaaajvunnz.....NoNoThe compartment OCID for the functions tenancy - this corresponds to where you want functions objects to exist in OCI. It defaults to the root tenancy compartment
oracle.disable-certstrueNoNoIgnore SSL host name checks when contacting the server (should only be used for diagnosis and testing)