import * as pulumi from "@pulumi/pulumi"; /** * Data Source schema for Volcengine::KMS::Secret */ export declare function getSecret(args: GetSecretArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSecret. */ export interface GetSecretArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getSecret. */ export interface GetSecretResult { /** * Whether to enable automatic rotation. Applies only to credentials of type IAM|RDS|Redis|ECS */ readonly automaticRotation: boolean; /** * Credential creation time */ readonly createdTime: number; /** * Credential description, length: 0 ~ 8192 characters */ readonly description: string; /** * KMS key TRN for encrypting credential value. If not specified, the default key of Credential Manager is used */ readonly encryptionKey: string; /** * Credential extension configuration, used to specify properties for non-Generic credentials */ readonly extendedConfig: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Credential last rotation time */ readonly lastRotationTime: string; /** * Is managed credential */ readonly managed: boolean; /** * Managed Cloud Service */ readonly owningService: string; /** * Credential project name. Default value: default */ readonly projectName: string; /** * Automatic rotation interval. Range: 1 ~ 365 days. Format: integer[unit], where integer is the duration and unit is the time unit. Unit value: d (days). For example: 7d means a 7-day interval */ readonly rotationInterval: string; /** * Automatic rotation interval, unit: seconds */ readonly rotationIntervalRead: number; /** * Rotation status: Enable: automatic rotation enabled, Disable: automatic rotation disabled, Rotating: automatic rotation in progress, None: automatic rotation not supported */ readonly rotationState: string; /** * Credential Scheduled Deletion Time */ readonly scheduleDeleteTime: string; /** * Credential next rotation time */ readonly scheduleRotationTime: string; /** * Credential unique identifier, UUID format */ readonly secretId: string; /** * Credential name. Valid characters: [a-zA-Z0-9/_+=.@-] */ readonly secretName: string; /** * Credential status. Enable: enabled, Disable: disabled, PendingDelete: scheduled for deletion */ readonly secretState: string; /** * Credential type. Currently supports Generic|IAM|RDS|Redis|ECS|PGSQL|SQLServer */ readonly secretType: string; /** * Credential value. When SecretType is Generic, users can customize it. It is recommended to use JSON key-value pairs */ readonly secretValue: string; /** * Credential resource name. Format: trn:kms:${Region}:${AccountID}:secrets/${secret} */ readonly trn: string; /** * Credential tenant ID */ readonly uid: string; /** * Credential update date */ readonly updatedTime: number; /** * Version alias. Valid characters: [a-zA-Z0-9/_+=.@-] */ readonly versionName: string; } /** * Data Source schema for Volcengine::KMS::Secret */ export declare function getSecretOutput(args: GetSecretOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSecret. */ export interface GetSecretOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }