@pulumi/vault
Version:
A Pulumi package for creating and managing HashiCorp Vault cloud resources.
170 lines (169 loc) • 6.18 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* ## Import
*
* Auth methods can be imported using the `path`, e.g.
*
* ```sh
* $ pulumi import vault:index/authBackend:AuthBackend example github
* ```
*/
export declare class AuthBackend extends pulumi.CustomResource {
/**
* Get an existing AuthBackend resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AuthBackendState, opts?: pulumi.CustomResourceOptions): AuthBackend;
/**
* Returns true if the given object is an instance of AuthBackend. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is AuthBackend;
/**
* The accessor for this auth method
*/
readonly accessor: pulumi.Output<string>;
/**
* A description of the auth method.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* If set, opts out of mount migration on path updates.
* See here for more info on [Mount Migration](https://www.vaultproject.io/docs/concepts/mount-migration)
*/
readonly disableRemount: pulumi.Output<boolean | undefined>;
/**
* The key to use for signing identity tokens.
*/
readonly identityTokenKey: pulumi.Output<string | undefined>;
/**
* Specifies if the auth method is local only.
*/
readonly local: pulumi.Output<boolean | undefined>;
/**
* 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](https://www.terraform.io/docs/providers/vault/index.html#namespace).
* *Available only for Vault Enterprise*.
*/
readonly namespace: pulumi.Output<string | undefined>;
/**
* The path to mount the auth method — this defaults to the name of the type.
*/
readonly path: pulumi.Output<string>;
/**
* Extra configuration block. Structure is documented below.
*
* The `tune` block is used to tune the auth backend:
*/
readonly tune: pulumi.Output<outputs.AuthBackendTune>;
/**
* The name of the auth method type.
*/
readonly type: pulumi.Output<string>;
/**
* Create a AuthBackend resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: AuthBackendArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering AuthBackend resources.
*/
export interface AuthBackendState {
/**
* The accessor for this auth method
*/
accessor?: pulumi.Input<string>;
/**
* A description of the auth method.
*/
description?: pulumi.Input<string>;
/**
* If set, opts out of mount migration on path updates.
* See here for more info on [Mount Migration](https://www.vaultproject.io/docs/concepts/mount-migration)
*/
disableRemount?: pulumi.Input<boolean>;
/**
* The key to use for signing identity tokens.
*/
identityTokenKey?: pulumi.Input<string>;
/**
* Specifies if the auth method is local only.
*/
local?: pulumi.Input<boolean>;
/**
* 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](https://www.terraform.io/docs/providers/vault/index.html#namespace).
* *Available only for Vault Enterprise*.
*/
namespace?: pulumi.Input<string>;
/**
* The path to mount the auth method — this defaults to the name of the type.
*/
path?: pulumi.Input<string>;
/**
* Extra configuration block. Structure is documented below.
*
* The `tune` block is used to tune the auth backend:
*/
tune?: pulumi.Input<inputs.AuthBackendTune>;
/**
* The name of the auth method type.
*/
type?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a AuthBackend resource.
*/
export interface AuthBackendArgs {
/**
* A description of the auth method.
*/
description?: pulumi.Input<string>;
/**
* If set, opts out of mount migration on path updates.
* See here for more info on [Mount Migration](https://www.vaultproject.io/docs/concepts/mount-migration)
*/
disableRemount?: pulumi.Input<boolean>;
/**
* The key to use for signing identity tokens.
*/
identityTokenKey?: pulumi.Input<string>;
/**
* Specifies if the auth method is local only.
*/
local?: pulumi.Input<boolean>;
/**
* 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](https://www.terraform.io/docs/providers/vault/index.html#namespace).
* *Available only for Vault Enterprise*.
*/
namespace?: pulumi.Input<string>;
/**
* The path to mount the auth method — this defaults to the name of the type.
*/
path?: pulumi.Input<string>;
/**
* Extra configuration block. Structure is documented below.
*
* The `tune` block is used to tune the auth backend:
*/
tune?: pulumi.Input<inputs.AuthBackendTune>;
/**
* The name of the auth method type.
*/
type: pulumi.Input<string>;
}