@pulumi/vault
Version:
A Pulumi package for creating and managing HashiCorp Vault cloud resources.
100 lines (99 loc) • 3.48 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* A resource that manages the lifecycle of all [Managed Keys](https://www.vaultproject.io/docs/enterprise/managed-keys) in Vault.
*
* **Note** this feature is available only with Vault Enterprise.
*
* ## Import
*
* Mounts can be imported using the `id` of `default`, e.g.
*
* ```sh
* $ pulumi import vault:managed/keys:Keys keys default
* ```
*/
export declare class Keys extends pulumi.CustomResource {
/**
* Get an existing Keys 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?: KeysState, opts?: pulumi.CustomResourceOptions): Keys;
/**
* Returns true if the given object is an instance of Keys. 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 Keys;
/**
* Configuration block for AWS Managed Keys
*/
readonly aws: pulumi.Output<outputs.managed.KeysAw[] | undefined>;
/**
* Configuration block for Azure Managed Keys
*/
readonly azures: pulumi.Output<outputs.managed.KeysAzure[] | undefined>;
/**
* Target namespace. (requires Enterprise)
*/
readonly namespace: pulumi.Output<string | undefined>;
/**
* Configuration block for PKCS Managed Keys
*/
readonly pkcs: pulumi.Output<outputs.managed.KeysPkc[] | undefined>;
/**
* Create a Keys 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?: KeysArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Keys resources.
*/
export interface KeysState {
/**
* Configuration block for AWS Managed Keys
*/
aws?: pulumi.Input<pulumi.Input<inputs.managed.KeysAw>[]>;
/**
* Configuration block for Azure Managed Keys
*/
azures?: pulumi.Input<pulumi.Input<inputs.managed.KeysAzure>[]>;
/**
* Target namespace. (requires Enterprise)
*/
namespace?: pulumi.Input<string>;
/**
* Configuration block for PKCS Managed Keys
*/
pkcs?: pulumi.Input<pulumi.Input<inputs.managed.KeysPkc>[]>;
}
/**
* The set of arguments for constructing a Keys resource.
*/
export interface KeysArgs {
/**
* Configuration block for AWS Managed Keys
*/
aws?: pulumi.Input<pulumi.Input<inputs.managed.KeysAw>[]>;
/**
* Configuration block for Azure Managed Keys
*/
azures?: pulumi.Input<pulumi.Input<inputs.managed.KeysAzure>[]>;
/**
* Target namespace. (requires Enterprise)
*/
namespace?: pulumi.Input<string>;
/**
* Configuration block for PKCS Managed Keys
*/
pkcs?: pulumi.Input<pulumi.Input<inputs.managed.KeysPkc>[]>;
}