1. Packages
  2. HashiCorp Vault Provider
  3. API Docs
  4. OciAuthBackend
HashiCorp Vault v7.2.1 published on Wednesday, Aug 20, 2025 by Pulumi

vault.OciAuthBackend

Explore with Pulumi AI

vault logo
HashiCorp Vault v7.2.1 published on Wednesday, Aug 20, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vault from "@pulumi/vault";
    
    const example = new vault.OciAuthBackend("example", {
        path: exampleVaultAuthBackend.path,
        homeTenancyId: "ocid1.tenancy.oc1..aaaaaaaah7zkvaffv26pzyauoe2zbnionqvhvsexamplee557wakiofi4ysgqq",
    });
    
    import pulumi
    import pulumi_vault as vault
    
    example = vault.OciAuthBackend("example",
        path=example_vault_auth_backend["path"],
        home_tenancy_id="ocid1.tenancy.oc1..aaaaaaaah7zkvaffv26pzyauoe2zbnionqvhvsexamplee557wakiofi4ysgqq")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-vault/sdk/v7/go/vault"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vault.NewOciAuthBackend(ctx, "example", &vault.OciAuthBackendArgs{
    			Path:          pulumi.Any(exampleVaultAuthBackend.Path),
    			HomeTenancyId: pulumi.String("ocid1.tenancy.oc1..aaaaaaaah7zkvaffv26pzyauoe2zbnionqvhvsexamplee557wakiofi4ysgqq"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vault = Pulumi.Vault;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Vault.OciAuthBackend("example", new()
        {
            Path = exampleVaultAuthBackend.Path,
            HomeTenancyId = "ocid1.tenancy.oc1..aaaaaaaah7zkvaffv26pzyauoe2zbnionqvhvsexamplee557wakiofi4ysgqq",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vault.OciAuthBackend;
    import com.pulumi.vault.OciAuthBackendArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new OciAuthBackend("example", OciAuthBackendArgs.builder()
                .path(exampleVaultAuthBackend.path())
                .homeTenancyId("ocid1.tenancy.oc1..aaaaaaaah7zkvaffv26pzyauoe2zbnionqvhvsexamplee557wakiofi4ysgqq")
                .build());
    
        }
    }
    
    resources:
      example:
        type: vault:OciAuthBackend
        properties:
          path: ${exampleVaultAuthBackend.path}
          homeTenancyId: ocid1.tenancy.oc1..aaaaaaaah7zkvaffv26pzyauoe2zbnionqvhvsexamplee557wakiofi4ysgqq
    

    Create OciAuthBackend Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OciAuthBackend(name: string, args: OciAuthBackendArgs, opts?: CustomResourceOptions);
    @overload
    def OciAuthBackend(resource_name: str,
                       args: OciAuthBackendArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def OciAuthBackend(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       home_tenancy_id: Optional[str] = None,
                       description: Optional[str] = None,
                       disable_automated_rotation: Optional[bool] = None,
                       disable_remount: Optional[bool] = None,
                       namespace: Optional[str] = None,
                       path: Optional[str] = None,
                       rotation_period: Optional[int] = None,
                       rotation_schedule: Optional[str] = None,
                       rotation_window: Optional[int] = None,
                       tune: Optional[OciAuthBackendTuneArgs] = None)
    func NewOciAuthBackend(ctx *Context, name string, args OciAuthBackendArgs, opts ...ResourceOption) (*OciAuthBackend, error)
    public OciAuthBackend(string name, OciAuthBackendArgs args, CustomResourceOptions? opts = null)
    public OciAuthBackend(String name, OciAuthBackendArgs args)
    public OciAuthBackend(String name, OciAuthBackendArgs args, CustomResourceOptions options)
    
    type: vault:OciAuthBackend
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OciAuthBackendArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OciAuthBackendArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OciAuthBackendArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OciAuthBackendArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OciAuthBackendArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var ociAuthBackendResource = new Vault.OciAuthBackend("ociAuthBackendResource", new()
    {
        HomeTenancyId = "string",
        Description = "string",
        DisableAutomatedRotation = false,
        DisableRemount = false,
        Namespace = "string",
        Path = "string",
        RotationPeriod = 0,
        RotationSchedule = "string",
        RotationWindow = 0,
        Tune = new Vault.Inputs.OciAuthBackendTuneArgs
        {
            AllowedResponseHeaders = new[]
            {
                "string",
            },
            AuditNonHmacRequestKeys = new[]
            {
                "string",
            },
            AuditNonHmacResponseKeys = new[]
            {
                "string",
            },
            DefaultLeaseTtl = "string",
            ListingVisibility = "string",
            MaxLeaseTtl = "string",
            PassthroughRequestHeaders = new[]
            {
                "string",
            },
            TokenType = "string",
        },
    });
    
    example, err := vault.NewOciAuthBackend(ctx, "ociAuthBackendResource", &vault.OciAuthBackendArgs{
    	HomeTenancyId:            pulumi.String("string"),
    	Description:              pulumi.String("string"),
    	DisableAutomatedRotation: pulumi.Bool(false),
    	DisableRemount:           pulumi.Bool(false),
    	Namespace:                pulumi.String("string"),
    	Path:                     pulumi.String("string"),
    	RotationPeriod:           pulumi.Int(0),
    	RotationSchedule:         pulumi.String("string"),
    	RotationWindow:           pulumi.Int(0),
    	Tune: &vault.OciAuthBackendTuneArgs{
    		AllowedResponseHeaders: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AuditNonHmacRequestKeys: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AuditNonHmacResponseKeys: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		DefaultLeaseTtl:   pulumi.String("string"),
    		ListingVisibility: pulumi.String("string"),
    		MaxLeaseTtl:       pulumi.String("string"),
    		PassthroughRequestHeaders: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		TokenType: pulumi.String("string"),
    	},
    })
    
    var ociAuthBackendResource = new OciAuthBackend("ociAuthBackendResource", OciAuthBackendArgs.builder()
        .homeTenancyId("string")
        .description("string")
        .disableAutomatedRotation(false)
        .disableRemount(false)
        .namespace("string")
        .path("string")
        .rotationPeriod(0)
        .rotationSchedule("string")
        .rotationWindow(0)
        .tune(OciAuthBackendTuneArgs.builder()
            .allowedResponseHeaders("string")
            .auditNonHmacRequestKeys("string")
            .auditNonHmacResponseKeys("string")
            .defaultLeaseTtl("string")
            .listingVisibility("string")
            .maxLeaseTtl("string")
            .passthroughRequestHeaders("string")
            .tokenType("string")
            .build())
        .build());
    
    oci_auth_backend_resource = vault.OciAuthBackend("ociAuthBackendResource",
        home_tenancy_id="string",
        description="string",
        disable_automated_rotation=False,
        disable_remount=False,
        namespace="string",
        path="string",
        rotation_period=0,
        rotation_schedule="string",
        rotation_window=0,
        tune={
            "allowed_response_headers": ["string"],
            "audit_non_hmac_request_keys": ["string"],
            "audit_non_hmac_response_keys": ["string"],
            "default_lease_ttl": "string",
            "listing_visibility": "string",
            "max_lease_ttl": "string",
            "passthrough_request_headers": ["string"],
            "token_type": "string",
        })
    
    const ociAuthBackendResource = new vault.OciAuthBackend("ociAuthBackendResource", {
        homeTenancyId: "string",
        description: "string",
        disableAutomatedRotation: false,
        disableRemount: false,
        namespace: "string",
        path: "string",
        rotationPeriod: 0,
        rotationSchedule: "string",
        rotationWindow: 0,
        tune: {
            allowedResponseHeaders: ["string"],
            auditNonHmacRequestKeys: ["string"],
            auditNonHmacResponseKeys: ["string"],
            defaultLeaseTtl: "string",
            listingVisibility: "string",
            maxLeaseTtl: "string",
            passthroughRequestHeaders: ["string"],
            tokenType: "string",
        },
    });
    
    type: vault:OciAuthBackend
    properties:
        description: string
        disableAutomatedRotation: false
        disableRemount: false
        homeTenancyId: string
        namespace: string
        path: string
        rotationPeriod: 0
        rotationSchedule: string
        rotationWindow: 0
        tune:
            allowedResponseHeaders:
                - string
            auditNonHmacRequestKeys:
                - string
            auditNonHmacResponseKeys:
                - string
            defaultLeaseTtl: string
            listingVisibility: string
            maxLeaseTtl: string
            passthroughRequestHeaders:
                - string
            tokenType: string
    

    OciAuthBackend Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The OciAuthBackend resource accepts the following input properties:

    HomeTenancyId string
    The Tenancy OCID of your OCI account.
    Description string
    A description of the auth backend.
    DisableAutomatedRotation bool
    Stops rotation of the root credential until set to false.
    DisableRemount bool
    If set, opts out of mount migration on path updates.
    Namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    Path string
    Unique name of the auth backend to configure.
    RotationPeriod int
    The period of time in seconds between each rotation of the root credential. Cannot be used with rotation_schedule.
    RotationSchedule string
    The cron-style schedule for the root credential to be rotated on. Cannot be used with rotation_period.
    RotationWindow int
    The maximum amount of time in seconds Vault is allowed to complete a rotation once a scheduled rotation is triggered. Can only be used with rotation_schedule.
    Tune OciAuthBackendTune

    Extra configuration block. Structure is documented below.

    The tune block is used to tune the auth backend:

    HomeTenancyId string
    The Tenancy OCID of your OCI account.
    Description string
    A description of the auth backend.
    DisableAutomatedRotation bool
    Stops rotation of the root credential until set to false.
    DisableRemount bool
    If set, opts out of mount migration on path updates.
    Namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    Path string
    Unique name of the auth backend to configure.
    RotationPeriod int
    The period of time in seconds between each rotation of the root credential. Cannot be used with rotation_schedule.
    RotationSchedule string
    The cron-style schedule for the root credential to be rotated on. Cannot be used with rotation_period.
    RotationWindow int
    The maximum amount of time in seconds Vault is allowed to complete a rotation once a scheduled rotation is triggered. Can only be used with rotation_schedule.
    Tune OciAuthBackendTuneArgs

    Extra configuration block. Structure is documented below.

    The tune block is used to tune the auth backend:

    homeTenancyId String
    The Tenancy OCID of your OCI account.
    description String
    A description of the auth backend.
    disableAutomatedRotation Boolean
    Stops rotation of the root credential until set to false.
    disableRemount Boolean
    If set, opts out of mount migration on path updates.
    namespace String
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    path String
    Unique name of the auth backend to configure.
    rotationPeriod Integer
    The period of time in seconds between each rotation of the root credential. Cannot be used with rotation_schedule.
    rotationSchedule String
    The cron-style schedule for the root credential to be rotated on. Cannot be used with rotation_period.
    rotationWindow Integer
    The maximum amount of time in seconds Vault is allowed to complete a rotation once a scheduled rotation is triggered. Can only be used with rotation_schedule.
    tune OciAuthBackendTune

    Extra configuration block. Structure is documented below.

    The tune block is used to tune the auth backend:

    homeTenancyId string
    The Tenancy OCID of your OCI account.
    description string
    A description of the auth backend.
    disableAutomatedRotation boolean
    Stops rotation of the root credential until set to false.
    disableRemount boolean
    If set, opts out of mount migration on path updates.
    namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    path string
    Unique name of the auth backend to configure.
    rotationPeriod number
    The period of time in seconds between each rotation of the root credential. Cannot be used with rotation_schedule.
    rotationSchedule string
    The cron-style schedule for the root credential to be rotated on. Cannot be used with rotation_period.
    rotationWindow number
    The maximum amount of time in seconds Vault is allowed to complete a rotation once a scheduled rotation is triggered. Can only be used with rotation_schedule.
    tune OciAuthBackendTune

    Extra configuration block. Structure is documented below.

    The tune block is used to tune the auth backend:

    home_tenancy_id str
    The Tenancy OCID of your OCI account.
    description str
    A description of the auth backend.
    disable_automated_rotation bool
    Stops rotation of the root credential until set to false.
    disable_remount bool
    If set, opts out of mount migration on path updates.
    namespace str
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    path str
    Unique name of the auth backend to configure.
    rotation_period int
    The period of time in seconds between each rotation of the root credential. Cannot be used with rotation_schedule.
    rotation_schedule str
    The cron-style schedule for the root credential to be rotated on. Cannot be used with rotation_period.
    rotation_window int
    The maximum amount of time in seconds Vault is allowed to complete a rotation once a scheduled rotation is triggered. Can only be used with rotation_schedule.
    tune OciAuthBackendTuneArgs

    Extra configuration block. Structure is documented below.

    The tune block is used to tune the auth backend:

    homeTenancyId String
    The Tenancy OCID of your OCI account.
    description String
    A description of the auth backend.
    disableAutomatedRotation Boolean
    Stops rotation of the root credential until set to false.
    disableRemount Boolean
    If set, opts out of mount migration on path updates.
    namespace String
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    path String
    Unique name of the auth backend to configure.
    rotationPeriod Number
    The period of time in seconds between each rotation of the root credential. Cannot be used with rotation_schedule.
    rotationSchedule String
    The cron-style schedule for the root credential to be rotated on. Cannot be used with rotation_period.
    rotationWindow Number
    The maximum amount of time in seconds Vault is allowed to complete a rotation once a scheduled rotation is triggered. Can only be used with rotation_schedule.
    tune Property Map

    Extra configuration block. Structure is documented below.

    The tune block is used to tune the auth backend:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OciAuthBackend resource produces the following output properties:

    Accessor string
    The accessor of the auth backend
    Id string
    The provider-assigned unique ID for this managed resource.
    Accessor string
    The accessor of the auth backend
    Id string
    The provider-assigned unique ID for this managed resource.
    accessor String
    The accessor of the auth backend
    id String
    The provider-assigned unique ID for this managed resource.
    accessor string
    The accessor of the auth backend
    id string
    The provider-assigned unique ID for this managed resource.
    accessor str
    The accessor of the auth backend
    id str
    The provider-assigned unique ID for this managed resource.
    accessor String
    The accessor of the auth backend
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing OciAuthBackend Resource

    Get an existing OciAuthBackend resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OciAuthBackendState, opts?: CustomResourceOptions): OciAuthBackend
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            accessor: Optional[str] = None,
            description: Optional[str] = None,
            disable_automated_rotation: Optional[bool] = None,
            disable_remount: Optional[bool] = None,
            home_tenancy_id: Optional[str] = None,
            namespace: Optional[str] = None,
            path: Optional[str] = None,
            rotation_period: Optional[int] = None,
            rotation_schedule: Optional[str] = None,
            rotation_window: Optional[int] = None,
            tune: Optional[OciAuthBackendTuneArgs] = None) -> OciAuthBackend
    func GetOciAuthBackend(ctx *Context, name string, id IDInput, state *OciAuthBackendState, opts ...ResourceOption) (*OciAuthBackend, error)
    public static OciAuthBackend Get(string name, Input<string> id, OciAuthBackendState? state, CustomResourceOptions? opts = null)
    public static OciAuthBackend get(String name, Output<String> id, OciAuthBackendState state, CustomResourceOptions options)
    resources:  _:    type: vault:OciAuthBackend    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Accessor string
    The accessor of the auth backend
    Description string
    A description of the auth backend.
    DisableAutomatedRotation bool
    Stops rotation of the root credential until set to false.
    DisableRemount bool
    If set, opts out of mount migration on path updates.
    HomeTenancyId string
    The Tenancy OCID of your OCI account.
    Namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    Path string
    Unique name of the auth backend to configure.
    RotationPeriod int
    The period of time in seconds between each rotation of the root credential. Cannot be used with rotation_schedule.
    RotationSchedule string
    The cron-style schedule for the root credential to be rotated on. Cannot be used with rotation_period.
    RotationWindow int
    The maximum amount of time in seconds Vault is allowed to complete a rotation once a scheduled rotation is triggered. Can only be used with rotation_schedule.
    Tune OciAuthBackendTune

    Extra configuration block. Structure is documented below.

    The tune block is used to tune the auth backend:

    Accessor string
    The accessor of the auth backend
    Description string
    A description of the auth backend.
    DisableAutomatedRotation bool
    Stops rotation of the root credential until set to false.
    DisableRemount bool
    If set, opts out of mount migration on path updates.
    HomeTenancyId string
    The Tenancy OCID of your OCI account.
    Namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    Path string
    Unique name of the auth backend to configure.
    RotationPeriod int
    The period of time in seconds between each rotation of the root credential. Cannot be used with rotation_schedule.
    RotationSchedule string
    The cron-style schedule for the root credential to be rotated on. Cannot be used with rotation_period.
    RotationWindow int
    The maximum amount of time in seconds Vault is allowed to complete a rotation once a scheduled rotation is triggered. Can only be used with rotation_schedule.
    Tune OciAuthBackendTuneArgs

    Extra configuration block. Structure is documented below.

    The tune block is used to tune the auth backend:

    accessor String
    The accessor of the auth backend
    description String
    A description of the auth backend.
    disableAutomatedRotation Boolean
    Stops rotation of the root credential until set to false.
    disableRemount Boolean
    If set, opts out of mount migration on path updates.
    homeTenancyId String
    The Tenancy OCID of your OCI account.
    namespace String
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    path String
    Unique name of the auth backend to configure.
    rotationPeriod Integer
    The period of time in seconds between each rotation of the root credential. Cannot be used with rotation_schedule.
    rotationSchedule String
    The cron-style schedule for the root credential to be rotated on. Cannot be used with rotation_period.
    rotationWindow Integer
    The maximum amount of time in seconds Vault is allowed to complete a rotation once a scheduled rotation is triggered. Can only be used with rotation_schedule.
    tune OciAuthBackendTune

    Extra configuration block. Structure is documented below.

    The tune block is used to tune the auth backend:

    accessor string
    The accessor of the auth backend
    description string
    A description of the auth backend.
    disableAutomatedRotation boolean
    Stops rotation of the root credential until set to false.
    disableRemount boolean
    If set, opts out of mount migration on path updates.
    homeTenancyId string
    The Tenancy OCID of your OCI account.
    namespace string
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    path string
    Unique name of the auth backend to configure.
    rotationPeriod number
    The period of time in seconds between each rotation of the root credential. Cannot be used with rotation_schedule.
    rotationSchedule string
    The cron-style schedule for the root credential to be rotated on. Cannot be used with rotation_period.
    rotationWindow number
    The maximum amount of time in seconds Vault is allowed to complete a rotation once a scheduled rotation is triggered. Can only be used with rotation_schedule.
    tune OciAuthBackendTune

    Extra configuration block. Structure is documented below.

    The tune block is used to tune the auth backend:

    accessor str
    The accessor of the auth backend
    description str
    A description of the auth backend.
    disable_automated_rotation bool
    Stops rotation of the root credential until set to false.
    disable_remount bool
    If set, opts out of mount migration on path updates.
    home_tenancy_id str
    The Tenancy OCID of your OCI account.
    namespace str
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    path str
    Unique name of the auth backend to configure.
    rotation_period int
    The period of time in seconds between each rotation of the root credential. Cannot be used with rotation_schedule.
    rotation_schedule str
    The cron-style schedule for the root credential to be rotated on. Cannot be used with rotation_period.
    rotation_window int
    The maximum amount of time in seconds Vault is allowed to complete a rotation once a scheduled rotation is triggered. Can only be used with rotation_schedule.
    tune OciAuthBackendTuneArgs

    Extra configuration block. Structure is documented below.

    The tune block is used to tune the auth backend:

    accessor String
    The accessor of the auth backend
    description String
    A description of the auth backend.
    disableAutomatedRotation Boolean
    Stops rotation of the root credential until set to false.
    disableRemount Boolean
    If set, opts out of mount migration on path updates.
    homeTenancyId String
    The Tenancy OCID of your OCI account.
    namespace String
    The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    path String
    Unique name of the auth backend to configure.
    rotationPeriod Number
    The period of time in seconds between each rotation of the root credential. Cannot be used with rotation_schedule.
    rotationSchedule String
    The cron-style schedule for the root credential to be rotated on. Cannot be used with rotation_period.
    rotationWindow Number
    The maximum amount of time in seconds Vault is allowed to complete a rotation once a scheduled rotation is triggered. Can only be used with rotation_schedule.
    tune Property Map

    Extra configuration block. Structure is documented below.

    The tune block is used to tune the auth backend:

    Supporting Types

    OciAuthBackendTune, OciAuthBackendTuneArgs

    AllowedResponseHeaders List<string>
    List of headers to whitelist and allowing a plugin to include them in the response.
    AuditNonHmacRequestKeys List<string>
    Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
    AuditNonHmacResponseKeys List<string>
    Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
    DefaultLeaseTtl string
    Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
    ListingVisibility string
    Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
    MaxLeaseTtl string
    Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
    PassthroughRequestHeaders List<string>
    List of headers to whitelist and pass from the request to the backend.
    TokenType string
    Specifies the type of tokens that should be returned by the mount.
    AllowedResponseHeaders []string
    List of headers to whitelist and allowing a plugin to include them in the response.
    AuditNonHmacRequestKeys []string
    Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
    AuditNonHmacResponseKeys []string
    Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
    DefaultLeaseTtl string
    Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
    ListingVisibility string
    Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
    MaxLeaseTtl string
    Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
    PassthroughRequestHeaders []string
    List of headers to whitelist and pass from the request to the backend.
    TokenType string
    Specifies the type of tokens that should be returned by the mount.
    allowedResponseHeaders List<String>
    List of headers to whitelist and allowing a plugin to include them in the response.
    auditNonHmacRequestKeys List<String>
    Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
    auditNonHmacResponseKeys List<String>
    Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
    defaultLeaseTtl String
    Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
    listingVisibility String
    Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
    maxLeaseTtl String
    Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
    passthroughRequestHeaders List<String>
    List of headers to whitelist and pass from the request to the backend.
    tokenType String
    Specifies the type of tokens that should be returned by the mount.
    allowedResponseHeaders string[]
    List of headers to whitelist and allowing a plugin to include them in the response.
    auditNonHmacRequestKeys string[]
    Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
    auditNonHmacResponseKeys string[]
    Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
    defaultLeaseTtl string
    Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
    listingVisibility string
    Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
    maxLeaseTtl string
    Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
    passthroughRequestHeaders string[]
    List of headers to whitelist and pass from the request to the backend.
    tokenType string
    Specifies the type of tokens that should be returned by the mount.
    allowed_response_headers Sequence[str]
    List of headers to whitelist and allowing a plugin to include them in the response.
    audit_non_hmac_request_keys Sequence[str]
    Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
    audit_non_hmac_response_keys Sequence[str]
    Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
    default_lease_ttl str
    Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
    listing_visibility str
    Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
    max_lease_ttl str
    Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
    passthrough_request_headers Sequence[str]
    List of headers to whitelist and pass from the request to the backend.
    token_type str
    Specifies the type of tokens that should be returned by the mount.
    allowedResponseHeaders List<String>
    List of headers to whitelist and allowing a plugin to include them in the response.
    auditNonHmacRequestKeys List<String>
    Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
    auditNonHmacResponseKeys List<String>
    Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
    defaultLeaseTtl String
    Specifies the default time-to-live. If set, this overrides the global default. Must be a valid duration string
    listingVisibility String
    Specifies whether to show this mount in the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
    maxLeaseTtl String
    Specifies the maximum time-to-live. If set, this overrides the global default. Must be a valid duration string
    passthroughRequestHeaders List<String>
    List of headers to whitelist and pass from the request to the backend.
    tokenType String
    Specifies the type of tokens that should be returned by the mount.

    Import

    OCI auth backends can be imported using the backend’s path, e.g.

    $ pulumi import vault:index/ociAuthBackend:OciAuthBackend example oci
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Vault pulumi/pulumi-vault
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vault Terraform Provider.
    vault logo
    HashiCorp Vault v7.2.1 published on Wednesday, Aug 20, 2025 by Pulumi