dnscontrol/docs/_providers/oracle.md
Nick Gregory 945ffb7e80
NEW PROVIDER: Oracle Cloud (#1021)
* feat: add Oracle provider

* fix ALIAS and NS tests

* return... else if -> return... if

* fix assignment

* remove extraneous blank lines

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2021-01-24 15:35:12 -05:00

1 KiB

name title layout jsId
Oracle Cloud Oracle Cloud Provider default ORACLE

Oracle Cloud Provider

Configuration

Create an API key through the Oracle Cloud portal, and provide the user OCID, tenancy OCID, key fingerprint, region, and the contents of the private key. The OCID of the compartment DNS resources should be put in can also optionally be provided.

{% highlight json %} { "oracle": { "user_ocid": "$ORACLE_USER_OCID", "tenancy_ocid": "$ORACLE_TENANCY_OCID", "fingerprint": "$ORACLE_FINGERPRINT", "region": "$ORACLE_REGION", "private_key": "$ORACLE_PRIVATE_KEY", "compartment": "$ORACLE_COMPARTMENT" }, } {% endhighlight %}

Metadata

This provider does not recognize any special metadata fields unique to Oracle Cloud.

Usage

Example Javascript:

{% highlight js %} var REG_NONE = NewRegistrar('none', 'NONE') var ORACLE = NewDnsProvider("oracle", "ORACLE");

D("example.tld", REG_NONE, DnsProvider(ORACLE), NAMESERVER_TTL(86400),

A("test","1.2.3.4")

); {% endhighlight %}