dnscontrol/docs/_providers/oracle.md
Julius Rickert 20dad35167
Replace Jekyll highlight tags with fenced code blocks (#1412)
* Replace Jekyll highlight tags with fenced code blocks

Replace Jekyll highlight tags with fenced code blocks.
Canonicalize javascript to js.
Correct highlighting languages.
Add highlighting to code blocks.
Remove leading $ from bash blocks.
Remove empty lines at start and end of code blocks.
Stripped trailing whitespace.

* Fix language of code highlighting
2022-02-17 12:22:31 -05:00

986 B

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.

{
  "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"
  },
}

Metadata

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

Usage

Example Javascript:

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")
);