Skip to content

Add OCI Vault (Oracle Cloud) as a secrets provider #5713

Open

Description

@flozano

What problem will this feature address?

Dokploy's secrets providers cover AWS (Secrets Manager and Parameter Store), Azure Key Vault, HashiCorp Vault, Scaleway and others, but not Oracle Cloud Infrastructure. Teams on OCI keep their secrets in OCI Vault. Today they have to copy those secrets into Dokploy environment variables by hand instead of using ${{vault.*}} references resolved at deploy time.

Describe the solution you'd like

Add OCI Vault as a secrets provider, modelled on the AWS Secrets Manager provider:

  • References: ${{vault.<name>.secret-name}}, or ${{vault.<name>.secret-name:field}} to extract one key from a JSON secret. OCI secret names can't contain :, so the parsing is unambiguous.
  • Config: region, tenancy OCID, user OCID, API key fingerprint, PEM private key (with an optional passphrase), vault OCID and compartment OCID.
  • One provider, not two: OCI has a single secrets service and no Parameter Store equivalent.
  • Client: plain vaultFetch with OCI's HTTP Signature request signing done in node:crypto, so no new dependency. This is the same approach as the Scaleway, Azure and Phase providers.
    • Reads: POST /20190301/secretbundles/actions/getByName
    • Test connection and autocomplete: GET /20180608/secrets
  • Authentication: API key only. Instance principals are left out, because on a shared instance they would let any organization use the host's OCI identity.
  • IAM: read secret-bundles to resolve references. inspect secrets is needed only for the connection test and autocomplete.

Describe alternatives you've considered

  • The official OCI SDK (oci-common, oci-secrets, oci-vault): it handles signing, but it adds a large dependency tree and a default retry policy that would run past VAULT_REQUEST_TIMEOUT_MS.
  • The AWS provider with a custom endpoint: this doesn't work. OCI Vault isn't AWS-compatible; Object Storage is OCI's only S3-compatible API.
  • A script that copies OCI secrets into Dokploy environment variables: this loses deploy-time resolution and duplicates the secrets.

Additional context

#5712 implements this. It has unit tests, its request signatures are byte-identical to the official SDK's for the same key and date, and it has been tested end to end against a live OCI tenancy. A docs page for the website would follow.

Will you send a PR to implement it?

Yes

Activity

  1. linear-code commented on Oct 20, 2026

    @linear-code
  2. flozano commented on Oct 20, 2026

    @flozano
    Author

    (not sure if you would prefer OCI SDK to be used?)

  3. flozano commented on Oct 30, 2026

    @flozano
    Author

    @Siumauricio hi, is there anything I need to change, document or sign in order to get this accepted?

  4. flozano commented on Nov 5, 2026

    @flozano
    Author

    just a follow-up - would there be interest in this feature? I prepared a PR which is now conflicting, I can fix it and do whatever changes are needed, just let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions