@pulumi/vault
Version:
A Pulumi package for creating and managing HashiCorp Vault cloud resources.
93 lines (92 loc) • 2.78 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as vault from "@pulumi/vault";
*
* const example = vault.getAuthBackends({});
* ```
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as vault from "@pulumi/vault";
*
* const example_filter = vault.getAuthBackends({
* type: "kubernetes",
* });
* ```
*/
export declare function getAuthBackends(args?: GetAuthBackendsArgs, opts?: pulumi.InvokeOptions): Promise<GetAuthBackendsResult>;
/**
* A collection of arguments for invoking getAuthBackends.
*/
export interface GetAuthBackendsArgs {
/**
* The namespace of the target resource.
* 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?: string;
/**
* The name of the auth method type. Allows filtering of backends returned by type.
*/
type?: string;
}
/**
* A collection of values returned by getAuthBackends.
*/
export interface GetAuthBackendsResult {
/**
* The accessor IDs for the auth methods.
*/
readonly accessors: string[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly namespace?: string;
/**
* List of auth backend mount points.
*/
readonly paths: string[];
readonly type?: string;
}
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as vault from "@pulumi/vault";
*
* const example = vault.getAuthBackends({});
* ```
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as vault from "@pulumi/vault";
*
* const example_filter = vault.getAuthBackends({
* type: "kubernetes",
* });
* ```
*/
export declare function getAuthBackendsOutput(args?: GetAuthBackendsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAuthBackendsResult>;
/**
* A collection of arguments for invoking getAuthBackends.
*/
export interface GetAuthBackendsOutputArgs {
/**
* The namespace of the target resource.
* 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 name of the auth method type. Allows filtering of backends returned by type.
*/
type?: pulumi.Input<string>;
}