Oracle Cloud Infrastructure Resource Provider
The Oracle Cloud Infrastructure (OCI) Resource Provider lets you manage OCI resources.
Installing
This package is available for several languages/platforms:
Node.js (JavaScript/TypeScript)
To use with JavaScript or TypeScript in Node.js, install using either npm:
npm install @pulumi/oci
or yarn:
yarn add @pulumi/oci
Python
To use with Python, install using pip:
python3 -m pip install pulumi_oci
To use uv instead:
uv pip install pulumi_oci
Go
To use with Go, use go get to grab the latest version of the library:
go get github.com/pulumi/pulumi-oci/sdk/v5/...
.NET
To use with .NET, install using dotnet add package:
dotnet add package Pulumi.Oci
Configuration
The following configuration options are available for the oci provider:
| Option | Environment variable | Description |
|---|---|---|
oci:auth |
The type of auth to use. Options are 'ApiKey', 'SecurityToken', 'InstancePrincipal', 'ResourcePrincipal' and 'OKEWorkloadIdentity'. By default, 'ApiKey' will be used. | |
oci:tenancyOcid |
TF_VAR_tenancy_ocid |
OCID of your tenancy. |
oci:userOcid |
TF_VAR_user_ocid |
OCID of the user calling the API. |
oci:privateKey |
TF_VAR_private_key |
The contents of the private key file. Required if privateKeyPath is not defined and takes precedence if both are defined. |
oci:privateKeyPath |
TF_VAR_private_key_path |
The path (including filename) of the private key stored on your computer. Required if privateKey is not defined. |
oci:privateKeyPassword |
TF_VAR_private_key_password |
Passphrase used for the key, if it is encrypted. |
oci:fingerprint |
TF_VAR_fingerprint |
Fingerprint for the key pair being used. |
oci:region |
TF_VAR_region |
An OCI region. |
oci:configFileProfile |
TF_VAR_config_file_profile |
The custom profile to use instead of the DEFAULT profile in .oci/config. |
Use the Required Keys and OCIDs chapter of the OCI Developer Guide to learn:
- How to Generate an API Signing Key
- How to Get the Key's Fingerprint
- Where to Get the Tenancy's OCID and User's OCID
Reference
For detailed reference documentation, please visit the Pulumi registry.
Release files for pulumi-oci 5.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pulumi_oci-5.0.0.tar.gz | 11.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pulumi_oci-5.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.7 MB
Release files / pulumi_oci-5.0.0.tar.gz
| Download URL | pulumi_oci-5.0.0.tar.gz |
|---|---|
| Size | 11.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bbc9cb9b09465c3e54769813ce23a6c58adc84243bf3a9f973a5c6305b750ecf
|
|
BLAKE2b-256 checksum How to use checksums |
06a10f1918159f24089b63f1c3630117e19c954c7d31fe2eb636d6c1af6a4ec2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / pulumi_oci-5.0.0-py3-none-any.whl
| Download URL | pulumi_oci-5.0.0-py3-none-any.whl |
|---|---|
| Size | 16.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef3eb1258cf8a130c5bfb1b30c178cbec49d5dfe76089d2a0a300be9d7a8dfd8
|
|
BLAKE2b-256 checksum How to use checksums |
6070d7dba631931f761b819b9bee0a67677e4cc59dc80c108f70dc972572d0d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|