2019-03-08 18:47:06 +00:00
|
|
|
---
|
|
|
|
title: "Oracle Cloud"
|
|
|
|
date: 2019-03-03T16:39:46+01:00
|
|
|
|
draft: false
|
|
|
|
slug: oraclecloud
|
2022-06-16 22:25:42 +00:00
|
|
|
dnsprovider:
|
|
|
|
since: "v2.3.0"
|
|
|
|
code: "oraclecloud"
|
|
|
|
url: "https://cloud.oracle.com/home"
|
2019-03-08 18:47:06 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
<!-- providers/dns/oraclecloud/oraclecloud.toml -->
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
|
|
|
|
|
|
|
|
Configuration for [Oracle Cloud](https://cloud.oracle.com/home).
|
|
|
|
|
|
|
|
|
|
|
|
<!--more-->
|
|
|
|
|
|
|
|
- Code: `oraclecloud`
|
2022-06-16 22:25:42 +00:00
|
|
|
- Since: v2.3.0
|
|
|
|
|
2019-03-08 18:47:06 +00:00
|
|
|
|
|
|
|
Here is an example bash command using the Oracle Cloud provider:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
OCI_PRIVKEY_FILE="~/.oci/oci_api_key.pem" \
|
|
|
|
OCI_PRIVKEY_PASS="secret" \
|
|
|
|
OCI_TENANCY_OCID="ocid1.tenancy.oc1..secret" \
|
|
|
|
OCI_USER_OCID="ocid1.user.oc1..secret" \
|
|
|
|
OCI_PUBKEY_FINGERPRINT="00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00" \
|
|
|
|
OCI_REGION="us-phoenix-1" \
|
|
|
|
OCI_COMPARTMENT_OCID="ocid1.tenancy.oc1..secret" \
|
2022-06-16 22:25:42 +00:00
|
|
|
lego --email you@example.com --dns oraclecloud --domains my.example.org run
|
2019-03-08 18:47:06 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Credentials
|
|
|
|
|
|
|
|
| Environment Variable Name | Description |
|
|
|
|
|-----------------------|-------------|
|
|
|
|
| `OCI_COMPARTMENT_OCID` | Compartment OCID |
|
|
|
|
| `OCI_PRIVKEY_FILE` | Private key file |
|
|
|
|
| `OCI_PRIVKEY_PASS` | Private key password |
|
|
|
|
| `OCI_PUBKEY_FINGERPRINT` | Public key fingerprint |
|
|
|
|
| `OCI_REGION` | Region |
|
2020-09-29 22:27:08 +00:00
|
|
|
| `OCI_TENANCY_OCID` | Tenancy OCID |
|
2019-03-08 18:47:06 +00:00
|
|
|
| `OCI_USER_OCID` | User OCID |
|
|
|
|
|
2019-03-18 16:42:54 +00:00
|
|
|
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
|
2022-06-16 22:25:42 +00:00
|
|
|
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
|
2019-03-18 16:42:54 +00:00
|
|
|
|
2019-03-08 18:47:06 +00:00
|
|
|
|
|
|
|
## Additional Configuration
|
|
|
|
|
|
|
|
| Environment Variable Name | Description |
|
|
|
|
|--------------------------------|-------------|
|
|
|
|
| `OCI_POLLING_INTERVAL` | Time between DNS propagation check |
|
|
|
|
| `OCI_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation |
|
|
|
|
| `OCI_TTL` | The TTL of the TXT record used for the DNS challenge |
|
|
|
|
|
2019-03-18 16:42:54 +00:00
|
|
|
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
|
2022-06-16 22:25:42 +00:00
|
|
|
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
|
2019-03-18 16:42:54 +00:00
|
|
|
|
2019-03-08 18:47:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## More information
|
|
|
|
|
|
|
|
- [API documentation](https://docs.cloud.oracle.com/iaas/Content/DNS/Concepts/dnszonemanagement.htm)
|
|
|
|
- [Go client](https://github.com/oracle/oci-go-sdk)
|
|
|
|
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
<!-- providers/dns/oraclecloud/oraclecloud.toml -->
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|