import * as pulumi from "@pulumi/pulumi"; /** * A collection for managing user keys; users place keys of the same type or purpose in the same keyring for easier management * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const kmskeyringDemo = new volcenginecc.kms.KeyRing("kmskeyringDemo", { * description: "this is a test update", * keyringName: "ccapi-test", * keyringType: "CustomKeyring", * projectName: "default", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:kms/keyRing:KeyRing example "key_ring_id" * ``` */ export declare class KeyRing extends pulumi.CustomResource { /** * Get an existing KeyRing 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, state?: KeyRingState, opts?: pulumi.CustomResourceOptions): KeyRing; /** * Returns true if the given object is an instance of KeyRing. 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 KeyRing; /** * Keyring creation date */ readonly createDate: pulumi.Output; /** * Keyring description, length: 0–8192 characters */ readonly description: pulumi.Output; /** * Number of keys in keyring */ readonly keyCount: pulumi.Output; /** * Keyring unique identifier, in UUID format */ readonly keyRingId: pulumi.Output; /** * Keyring name, length: 2–31 characters. Valid characters: [a-zA-Z0-9-_] */ readonly keyringName: pulumi.Output; /** * Keyring type, value: CustomKeyring */ readonly keyringType: pulumi.Output; /** * Project name, default value: default */ readonly projectName: pulumi.Output; /** * Keyring tenant ID */ readonly uid: pulumi.Output; /** * Keyring update date */ readonly updateDate: pulumi.Output; /** * Create a KeyRing 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: KeyRingArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering KeyRing resources. */ export interface KeyRingState { /** * Keyring creation date */ createDate?: pulumi.Input; /** * Keyring description, length: 0–8192 characters */ description?: pulumi.Input; /** * Number of keys in keyring */ keyCount?: pulumi.Input; /** * Keyring unique identifier, in UUID format */ keyRingId?: pulumi.Input; /** * Keyring name, length: 2–31 characters. Valid characters: [a-zA-Z0-9-_] */ keyringName?: pulumi.Input; /** * Keyring type, value: CustomKeyring */ keyringType?: pulumi.Input; /** * Project name, default value: default */ projectName?: pulumi.Input; /** * Keyring tenant ID */ uid?: pulumi.Input; /** * Keyring update date */ updateDate?: pulumi.Input; } /** * The set of arguments for constructing a KeyRing resource. */ export interface KeyRingArgs { /** * Keyring description, length: 0–8192 characters */ description?: pulumi.Input; /** * Keyring name, length: 2–31 characters. Valid characters: [a-zA-Z0-9-_] */ keyringName: pulumi.Input; /** * Keyring type, value: CustomKeyring */ keyringType?: pulumi.Input; /** * Project name, default value: default */ projectName?: pulumi.Input; }