github.com/StackExchange/dnscontrol/v4@v4.11.0/documentation/provider/oracle.md (about) 1 ## Configuration 2 3 To use this provider, add an entry to `creds.json` with `TYPE` set to `ORACLE` 4 along with other authentication parameters. 5 6 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. 7 The OCID of the compartment DNS resources should be put in can also optionally be provided. 8 9 Example: 10 11 {% code title="creds.json" %} 12 ```json 13 { 14 "oracle": { 15 "TYPE": "ORACLE", 16 "compartment": "$ORACLE_COMPARTMENT", 17 "fingerprint": "$ORACLE_FINGERPRINT", 18 "private_key": "$ORACLE_PRIVATE_KEY", 19 "region": "$ORACLE_REGION", 20 "tenancy_ocid": "$ORACLE_TENANCY_OCID", 21 "user_ocid": "$ORACLE_USER_OCID" 22 } 23 } 24 ``` 25 {% endcode %} 26 27 ## Metadata 28 This provider does not recognize any special metadata fields unique to Oracle Cloud. 29 30 ## Usage 31 An example configuration: 32 33 {% code title="dnsconfig.js" %} 34 ```javascript 35 var REG_NONE = NewRegistrar("none"); 36 var DSP_ORACLE = NewDnsProvider("oracle"); 37 38 D("example.com", REG_NONE, DnsProvider(DSP_ORACLE), 39 NAMESERVER_TTL(86400), 40 41 A("test", "1.2.3.4"), 42 END); 43 ``` 44 {% endcode %}