Viewing docs for volcenginecc v0.0.38
published on Monday, May 25, 2026 by Volcengine
published on Monday, May 25, 2026 by Volcengine
Viewing docs for volcenginecc v0.0.38
published on Monday, May 25, 2026 by Volcengine
published on Monday, May 25, 2026 by Volcengine
Data Source schema for Volcengine::KMS::Secret
Using getSecret
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSecret(args: GetSecretArgs, opts?: InvokeOptions): Promise<GetSecretResult>
function getSecretOutput(args: GetSecretOutputArgs, opts?: InvokeOptions): Output<GetSecretResult>def get_secret(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSecretResult
def get_secret_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecretResult]func LookupSecret(ctx *Context, args *LookupSecretArgs, opts ...InvokeOption) (*LookupSecretResult, error)
func LookupSecretOutput(ctx *Context, args *LookupSecretOutputArgs, opts ...InvokeOption) LookupSecretResultOutput> Note: This function is named LookupSecret in the Go SDK.
public static class GetSecret
{
public static Task<GetSecretResult> InvokeAsync(GetSecretArgs args, InvokeOptions? opts = null)
public static Output<GetSecretResult> Invoke(GetSecretInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSecretResult> getSecret(GetSecretArgs args, InvokeOptions options)
public static Output<GetSecretResult> getSecret(GetSecretArgs args, InvokeOptions options)
fn::invoke:
function: volcenginecc:kms/getSecret:getSecret
arguments:
# arguments dictionarydata "volcenginecc_kms_getsecret" "name" {
# arguments
}The following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getSecret Result
The following output properties are available:
- Automatic
Rotation bool - Whether to enable automatic rotation. Applies only to credentials of type IAM|RDS|Redis|ECS
- Created
Time int - Credential creation time
- Description string
- Credential description, length: 0 ~ 8192 characters
- Encryption
Key string - KMS key TRN for encrypting credential value. If not specified, the default key of Credential Manager is used
- Extended
Config string - Credential extension configuration, used to specify properties for non-Generic credentials
- Id string
- Uniquely identifies the resource.
- Last
Rotation stringTime - Credential last rotation time
- Managed bool
- Is managed credential
- Owning
Service string - Managed Cloud Service
- Project
Name string - Credential project name. Default value: default
- Rotation
Interval 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
- Rotation
Interval intRead - Automatic rotation interval, unit: seconds
- Rotation
State string - Rotation status: Enable: automatic rotation enabled, Disable: automatic rotation disabled, Rotating: automatic rotation in progress, None: automatic rotation not supported
- Schedule
Delete stringTime - Credential Scheduled Deletion Time
- Schedule
Rotation stringTime - Credential next rotation time
- Secret
Id string - Credential unique identifier, UUID format
- Secret
Name string - Credential name. Valid characters: [a-zA-Z0-9/_+=.@-]
- Secret
State string - Credential status. Enable: enabled, Disable: disabled, PendingDelete: scheduled for deletion
- Secret
Type string - Credential type. Currently supports Generic|IAM|RDS|Redis|ECS|PGSQL|SQLServer
- Secret
Value string - Credential value. When SecretType is Generic, users can customize it. It is recommended to use JSON key-value pairs
- Trn string
- Credential resource name. Format: trn:kms:${Region}:${AccountID}:secrets/${secret}
- Uid string
- Credential tenant ID
- Updated
Time int - Credential update date
- Version
Name string - Version alias. Valid characters: [a-zA-Z0-9/_+=.@-]
- Automatic
Rotation bool - Whether to enable automatic rotation. Applies only to credentials of type IAM|RDS|Redis|ECS
- Created
Time int - Credential creation time
- Description string
- Credential description, length: 0 ~ 8192 characters
- Encryption
Key string - KMS key TRN for encrypting credential value. If not specified, the default key of Credential Manager is used
- Extended
Config string - Credential extension configuration, used to specify properties for non-Generic credentials
- Id string
- Uniquely identifies the resource.
- Last
Rotation stringTime - Credential last rotation time
- Managed bool
- Is managed credential
- Owning
Service string - Managed Cloud Service
- Project
Name string - Credential project name. Default value: default
- Rotation
Interval 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
- Rotation
Interval intRead - Automatic rotation interval, unit: seconds
- Rotation
State string - Rotation status: Enable: automatic rotation enabled, Disable: automatic rotation disabled, Rotating: automatic rotation in progress, None: automatic rotation not supported
- Schedule
Delete stringTime - Credential Scheduled Deletion Time
- Schedule
Rotation stringTime - Credential next rotation time
- Secret
Id string - Credential unique identifier, UUID format
- Secret
Name string - Credential name. Valid characters: [a-zA-Z0-9/_+=.@-]
- Secret
State string - Credential status. Enable: enabled, Disable: disabled, PendingDelete: scheduled for deletion
- Secret
Type string - Credential type. Currently supports Generic|IAM|RDS|Redis|ECS|PGSQL|SQLServer
- Secret
Value string - Credential value. When SecretType is Generic, users can customize it. It is recommended to use JSON key-value pairs
- Trn string
- Credential resource name. Format: trn:kms:${Region}:${AccountID}:secrets/${secret}
- Uid string
- Credential tenant ID
- Updated
Time int - Credential update date
- Version
Name string - Version alias. Valid characters: [a-zA-Z0-9/_+=.@-]
- automatic_
rotation bool - Whether to enable automatic rotation. Applies only to credentials of type IAM|RDS|Redis|ECS
- created_
time number - Credential creation time
- description string
- Credential description, length: 0 ~ 8192 characters
- encryption_
key string - KMS key TRN for encrypting credential value. If not specified, the default key of Credential Manager is used
- extended_
config string - Credential extension configuration, used to specify properties for non-Generic credentials
- id string
- Uniquely identifies the resource.
- last_
rotation_ stringtime - Credential last rotation time
- managed bool
- Is managed credential
- owning_
service string - Managed Cloud Service
- project_
name string - Credential project name. Default value: default
- rotation_
interval 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
- rotation_
interval_ numberread - Automatic rotation interval, unit: seconds
- rotation_
state string - Rotation status: Enable: automatic rotation enabled, Disable: automatic rotation disabled, Rotating: automatic rotation in progress, None: automatic rotation not supported
- schedule_
delete_ stringtime - Credential Scheduled Deletion Time
- schedule_
rotation_ stringtime - Credential next rotation time
- secret_
id string - Credential unique identifier, UUID format
- secret_
name string - Credential name. Valid characters: [a-zA-Z0-9/_+=.@-]
- secret_
state string - Credential status. Enable: enabled, Disable: disabled, PendingDelete: scheduled for deletion
- secret_
type string - Credential type. Currently supports Generic|IAM|RDS|Redis|ECS|PGSQL|SQLServer
- secret_
value string - Credential value. When SecretType is Generic, users can customize it. It is recommended to use JSON key-value pairs
- trn string
- Credential resource name. Format: trn:kms:${Region}:${AccountID}:secrets/${secret}
- uid string
- Credential tenant ID
- updated_
time number - Credential update date
- version_
name string - Version alias. Valid characters: [a-zA-Z0-9/_+=.@-]
- automatic
Rotation Boolean - Whether to enable automatic rotation. Applies only to credentials of type IAM|RDS|Redis|ECS
- created
Time Integer - Credential creation time
- description String
- Credential description, length: 0 ~ 8192 characters
- encryption
Key String - KMS key TRN for encrypting credential value. If not specified, the default key of Credential Manager is used
- extended
Config String - Credential extension configuration, used to specify properties for non-Generic credentials
- id String
- Uniquely identifies the resource.
- last
Rotation StringTime - Credential last rotation time
- managed Boolean
- Is managed credential
- owning
Service String - Managed Cloud Service
- project
Name String - Credential project name. Default value: default
- rotation
Interval 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
- rotation
Interval IntegerRead - Automatic rotation interval, unit: seconds
- rotation
State String - Rotation status: Enable: automatic rotation enabled, Disable: automatic rotation disabled, Rotating: automatic rotation in progress, None: automatic rotation not supported
- schedule
Delete StringTime - Credential Scheduled Deletion Time
- schedule
Rotation StringTime - Credential next rotation time
- secret
Id String - Credential unique identifier, UUID format
- secret
Name String - Credential name. Valid characters: [a-zA-Z0-9/_+=.@-]
- secret
State String - Credential status. Enable: enabled, Disable: disabled, PendingDelete: scheduled for deletion
- secret
Type String - Credential type. Currently supports Generic|IAM|RDS|Redis|ECS|PGSQL|SQLServer
- secret
Value String - Credential value. When SecretType is Generic, users can customize it. It is recommended to use JSON key-value pairs
- trn String
- Credential resource name. Format: trn:kms:${Region}:${AccountID}:secrets/${secret}
- uid String
- Credential tenant ID
- updated
Time Integer - Credential update date
- version
Name String - Version alias. Valid characters: [a-zA-Z0-9/_+=.@-]
- automatic
Rotation boolean - Whether to enable automatic rotation. Applies only to credentials of type IAM|RDS|Redis|ECS
- created
Time number - Credential creation time
- description string
- Credential description, length: 0 ~ 8192 characters
- encryption
Key string - KMS key TRN for encrypting credential value. If not specified, the default key of Credential Manager is used
- extended
Config string - Credential extension configuration, used to specify properties for non-Generic credentials
- id string
- Uniquely identifies the resource.
- last
Rotation stringTime - Credential last rotation time
- managed boolean
- Is managed credential
- owning
Service string - Managed Cloud Service
- project
Name string - Credential project name. Default value: default
- rotation
Interval 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
- rotation
Interval numberRead - Automatic rotation interval, unit: seconds
- rotation
State string - Rotation status: Enable: automatic rotation enabled, Disable: automatic rotation disabled, Rotating: automatic rotation in progress, None: automatic rotation not supported
- schedule
Delete stringTime - Credential Scheduled Deletion Time
- schedule
Rotation stringTime - Credential next rotation time
- secret
Id string - Credential unique identifier, UUID format
- secret
Name string - Credential name. Valid characters: [a-zA-Z0-9/_+=.@-]
- secret
State string - Credential status. Enable: enabled, Disable: disabled, PendingDelete: scheduled for deletion
- secret
Type string - Credential type. Currently supports Generic|IAM|RDS|Redis|ECS|PGSQL|SQLServer
- secret
Value string - Credential value. When SecretType is Generic, users can customize it. It is recommended to use JSON key-value pairs
- trn string
- Credential resource name. Format: trn:kms:${Region}:${AccountID}:secrets/${secret}
- uid string
- Credential tenant ID
- updated
Time number - Credential update date
- version
Name string - Version alias. Valid characters: [a-zA-Z0-9/_+=.@-]
- automatic_
rotation bool - Whether to enable automatic rotation. Applies only to credentials of type IAM|RDS|Redis|ECS
- created_
time int - Credential creation time
- description str
- Credential description, length: 0 ~ 8192 characters
- encryption_
key str - KMS key TRN for encrypting credential value. If not specified, the default key of Credential Manager is used
- extended_
config str - Credential extension configuration, used to specify properties for non-Generic credentials
- id str
- Uniquely identifies the resource.
- last_
rotation_ strtime - Credential last rotation time
- managed bool
- Is managed credential
- owning_
service str - Managed Cloud Service
- project_
name str - Credential project name. Default value: default
- rotation_
interval str - 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
- rotation_
interval_ intread - Automatic rotation interval, unit: seconds
- rotation_
state str - Rotation status: Enable: automatic rotation enabled, Disable: automatic rotation disabled, Rotating: automatic rotation in progress, None: automatic rotation not supported
- schedule_
delete_ strtime - Credential Scheduled Deletion Time
- schedule_
rotation_ strtime - Credential next rotation time
- secret_
id str - Credential unique identifier, UUID format
- secret_
name str - Credential name. Valid characters: [a-zA-Z0-9/_+=.@-]
- secret_
state str - Credential status. Enable: enabled, Disable: disabled, PendingDelete: scheduled for deletion
- secret_
type str - Credential type. Currently supports Generic|IAM|RDS|Redis|ECS|PGSQL|SQLServer
- secret_
value str - Credential value. When SecretType is Generic, users can customize it. It is recommended to use JSON key-value pairs
- trn str
- Credential resource name. Format: trn:kms:${Region}:${AccountID}:secrets/${secret}
- uid str
- Credential tenant ID
- updated_
time int - Credential update date
- version_
name str - Version alias. Valid characters: [a-zA-Z0-9/_+=.@-]
- automatic
Rotation Boolean - Whether to enable automatic rotation. Applies only to credentials of type IAM|RDS|Redis|ECS
- created
Time Number - Credential creation time
- description String
- Credential description, length: 0 ~ 8192 characters
- encryption
Key String - KMS key TRN for encrypting credential value. If not specified, the default key of Credential Manager is used
- extended
Config String - Credential extension configuration, used to specify properties for non-Generic credentials
- id String
- Uniquely identifies the resource.
- last
Rotation StringTime - Credential last rotation time
- managed Boolean
- Is managed credential
- owning
Service String - Managed Cloud Service
- project
Name String - Credential project name. Default value: default
- rotation
Interval 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
- rotation
Interval NumberRead - Automatic rotation interval, unit: seconds
- rotation
State String - Rotation status: Enable: automatic rotation enabled, Disable: automatic rotation disabled, Rotating: automatic rotation in progress, None: automatic rotation not supported
- schedule
Delete StringTime - Credential Scheduled Deletion Time
- schedule
Rotation StringTime - Credential next rotation time
- secret
Id String - Credential unique identifier, UUID format
- secret
Name String - Credential name. Valid characters: [a-zA-Z0-9/_+=.@-]
- secret
State String - Credential status. Enable: enabled, Disable: disabled, PendingDelete: scheduled for deletion
- secret
Type String - Credential type. Currently supports Generic|IAM|RDS|Redis|ECS|PGSQL|SQLServer
- secret
Value String - Credential value. When SecretType is Generic, users can customize it. It is recommended to use JSON key-value pairs
- trn String
- Credential resource name. Format: trn:kms:${Region}:${AccountID}:secrets/${secret}
- uid String
- Credential tenant ID
- updated
Time Number - Credential update date
- version
Name String - Version alias. Valid characters: [a-zA-Z0-9/_+=.@-]
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
Viewing docs for volcenginecc v0.0.38
published on Monday, May 25, 2026 by Volcengine
published on Monday, May 25, 2026 by Volcengine