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.
Metadata
Release files for pulumi-oci 5.2.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.2.0.tar.gz | 12.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pulumi_oci-5.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.1 MB
Release files / pulumi_oci-5.2.0.tar.gz
| Download URL | pulumi_oci-5.2.0.tar.gz |
|---|---|
| Size | 12.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea9d0ed11dcfaacb53b9686436bfd7dad26d4e4f58bcc795600265ca54995ac8
|
|
BLAKE2b-256 checksum How to use checksums |
20f246bef1b3307652428c83e9e020829160b427f638b825c6b983fa86c46145
|
| 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.2.0-py3-none-any.whl
| Download URL | pulumi_oci-5.2.0-py3-none-any.whl |
|---|---|
| Size | 17.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eff7d5db175c7a2265028f8ce49e53aebcaba39d7db5a23a3ce9a739230f8030
|
|
BLAKE2b-256 checksum How to use checksums |
521b1cc46cd0b3584ab6c49fbab68b06404baea1b882935b0603d0073dd58d0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|