Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine
volcengine.kms.Keyrings
Explore with Pulumi AI
Deprecated: volcengine.kms.Keyrings has been deprecated in favor of volcengine.kms.getKeyrings
Use this data source to query detailed information of kms keyrings
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.kms.getKeyrings({
descriptions: [
"tf-1",
"tf-2",
],
keyringNames: [
"tf-test-1",
"tf-test-2",
"tf-test-3",
],
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.kms.get_keyrings(descriptions=[
"tf-1",
"tf-2",
],
keyring_names=[
"tf-test-1",
"tf-test-2",
"tf-test-3",
])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/kms"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := kms.GetKeyrings(ctx, &kms.GetKeyringsArgs{
Descriptions: []string{
"tf-1",
"tf-2",
},
KeyringNames: []string{
"tf-test-1",
"tf-test-2",
"tf-test-3",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Kms.GetKeyrings.Invoke(new()
{
Descriptions = new[]
{
"tf-1",
"tf-2",
},
KeyringNames = new[]
{
"tf-test-1",
"tf-test-2",
"tf-test-3",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.kms.KmsFunctions;
import com.pulumi.volcengine.kms.inputs.GetKeyringsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var default = KmsFunctions.getKeyrings(GetKeyringsArgs.builder()
.descriptions(
"tf-1",
"tf-2")
.keyringNames(
"tf-test-1",
"tf-test-2",
"tf-test-3")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:kms:getKeyrings
Arguments:
descriptions:
- tf-1
- tf-2
keyringNames:
- tf-test-1
- tf-test-2
- tf-test-3
Using Keyrings
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 keyrings(args: KeyringsArgs, opts?: InvokeOptions): Promise<KeyringsResult>
function keyringsOutput(args: KeyringsOutputArgs, opts?: InvokeOptions): Output<KeyringsResult>
def keyrings(creation_date_ranges: Optional[Sequence[str]] = None,
descriptions: Optional[Sequence[str]] = None,
keyring_names: Optional[Sequence[str]] = None,
keyring_types: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
project_name: Optional[str] = None,
update_date_ranges: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> KeyringsResult
def keyrings_output(creation_date_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
descriptions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
keyring_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
keyring_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
update_date_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[KeyringsResult]
func Keyrings(ctx *Context, args *KeyringsArgs, opts ...InvokeOption) (*KeyringsResult, error)
func KeyringsOutput(ctx *Context, args *KeyringsOutputArgs, opts ...InvokeOption) KeyringsResultOutput
public static class Keyrings
{
public static Task<KeyringsResult> InvokeAsync(KeyringsArgs args, InvokeOptions? opts = null)
public static Output<KeyringsResult> Invoke(KeyringsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<KeyringsResult> keyrings(KeyringsArgs args, InvokeOptions options)
public static Output<KeyringsResult> keyrings(KeyringsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:kms:Keyrings
arguments:
# arguments dictionary
The following arguments are supported:
- Creation
Date List<string>Ranges - The creation date of the keyring.
- Descriptions List<string>
- The description of the keyring.
- Keyring
Names List<string> - The name of the keyring.
- Keyring
Types List<string> - The type of the keyring.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project
Name string - The name of the project.
- Update
Date List<string>Ranges - The update date of the keyring.
- Creation
Date []stringRanges - The creation date of the keyring.
- Descriptions []string
- The description of the keyring.
- Keyring
Names []string - The name of the keyring.
- Keyring
Types []string - The type of the keyring.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project
Name string - The name of the project.
- Update
Date []stringRanges - The update date of the keyring.
- creation
Date List<String>Ranges - The creation date of the keyring.
- descriptions List<String>
- The description of the keyring.
- keyring
Names List<String> - The name of the keyring.
- keyring
Types List<String> - The type of the keyring.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project
Name String - The name of the project.
- update
Date List<String>Ranges - The update date of the keyring.
- creation
Date string[]Ranges - The creation date of the keyring.
- descriptions string[]
- The description of the keyring.
- keyring
Names string[] - The name of the keyring.
- keyring
Types string[] - The type of the keyring.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- project
Name string - The name of the project.
- update
Date string[]Ranges - The update date of the keyring.
- creation_
date_ Sequence[str]ranges - The creation date of the keyring.
- descriptions Sequence[str]
- The description of the keyring.
- keyring_
names Sequence[str] - The name of the keyring.
- keyring_
types Sequence[str] - The type of the keyring.
- name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- project_
name str - The name of the project.
- update_
date_ Sequence[str]ranges - The update date of the keyring.
- creation
Date List<String>Ranges - The creation date of the keyring.
- descriptions List<String>
- The description of the keyring.
- keyring
Names List<String> - The name of the keyring.
- keyring
Types List<String> - The type of the keyring.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project
Name String - The name of the project.
- update
Date List<String>Ranges - The update date of the keyring.
Keyrings Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Keyrings
List<Keyrings
Keyring> - The information about the keyring.
- Total
Count int - The total count of query.
- Creation
Date List<string>Ranges - Descriptions List<string>
- The description of the keyring.
- Keyring
Names List<string> - The name of the keyring.
- Keyring
Types List<string> - The type of the keyring.
- Name
Regex string - Output
File string - Project
Name string - Update
Date List<string>Ranges
- Id string
- The provider-assigned unique ID for this managed resource.
- Keyrings
[]Keyrings
Keyring - The information about the keyring.
- Total
Count int - The total count of query.
- Creation
Date []stringRanges - Descriptions []string
- The description of the keyring.
- Keyring
Names []string - The name of the keyring.
- Keyring
Types []string - The type of the keyring.
- Name
Regex string - Output
File string - Project
Name string - Update
Date []stringRanges
- id String
- The provider-assigned unique ID for this managed resource.
- keyrings
List<Keyrings
Keyring> - The information about the keyring.
- total
Count Integer - The total count of query.
- creation
Date List<String>Ranges - descriptions List<String>
- The description of the keyring.
- keyring
Names List<String> - The name of the keyring.
- keyring
Types List<String> - The type of the keyring.
- name
Regex String - output
File String - project
Name String - update
Date List<String>Ranges
- id string
- The provider-assigned unique ID for this managed resource.
- keyrings
Keyrings
Keyring[] - The information about the keyring.
- total
Count number - The total count of query.
- creation
Date string[]Ranges - descriptions string[]
- The description of the keyring.
- keyring
Names string[] - The name of the keyring.
- keyring
Types string[] - The type of the keyring.
- name
Regex string - output
File string - project
Name string - update
Date string[]Ranges
- id str
- The provider-assigned unique ID for this managed resource.
- keyrings
Sequence[Keyrings
Keyring] - The information about the keyring.
- total_
count int - The total count of query.
- creation_
date_ Sequence[str]ranges - descriptions Sequence[str]
- The description of the keyring.
- keyring_
names Sequence[str] - The name of the keyring.
- keyring_
types Sequence[str] - The type of the keyring.
- name_
regex str - output_
file str - project_
name str - update_
date_ Sequence[str]ranges
- id String
- The provider-assigned unique ID for this managed resource.
- keyrings List<Property Map>
- The information about the keyring.
- total
Count Number - The total count of query.
- creation
Date List<String>Ranges - descriptions List<String>
- The description of the keyring.
- keyring
Names List<String> - The name of the keyring.
- keyring
Types List<String> - The type of the keyring.
- name
Regex String - output
File String - project
Name String - update
Date List<String>Ranges
Supporting Types
KeyringsKeyring
- Creation
Date int - The date when the keyring was created.
- Description string
- The description of the keyring.
- Id string
- The unique ID of the keyring. The value is in the UUID format.
- Key
Count int - Key ring key count.
- Keyring
Name string - The name of the keyring.
- Keyring
Type string - The type of the keyring.
- Trn string
- The information about the tenant resource name (TRN).
- Uid string
- The tenant ID of the keyring.
- Update
Date int - The date when the keyring was updated.
- Creation
Date int - The date when the keyring was created.
- Description string
- The description of the keyring.
- Id string
- The unique ID of the keyring. The value is in the UUID format.
- Key
Count int - Key ring key count.
- Keyring
Name string - The name of the keyring.
- Keyring
Type string - The type of the keyring.
- Trn string
- The information about the tenant resource name (TRN).
- Uid string
- The tenant ID of the keyring.
- Update
Date int - The date when the keyring was updated.
- creation
Date Integer - The date when the keyring was created.
- description String
- The description of the keyring.
- id String
- The unique ID of the keyring. The value is in the UUID format.
- key
Count Integer - Key ring key count.
- keyring
Name String - The name of the keyring.
- keyring
Type String - The type of the keyring.
- trn String
- The information about the tenant resource name (TRN).
- uid String
- The tenant ID of the keyring.
- update
Date Integer - The date when the keyring was updated.
- creation
Date number - The date when the keyring was created.
- description string
- The description of the keyring.
- id string
- The unique ID of the keyring. The value is in the UUID format.
- key
Count number - Key ring key count.
- keyring
Name string - The name of the keyring.
- keyring
Type string - The type of the keyring.
- trn string
- The information about the tenant resource name (TRN).
- uid string
- The tenant ID of the keyring.
- update
Date number - The date when the keyring was updated.
- creation_
date int - The date when the keyring was created.
- description str
- The description of the keyring.
- id str
- The unique ID of the keyring. The value is in the UUID format.
- key_
count int - Key ring key count.
- keyring_
name str - The name of the keyring.
- keyring_
type str - The type of the keyring.
- trn str
- The information about the tenant resource name (TRN).
- uid str
- The tenant ID of the keyring.
- update_
date int - The date when the keyring was updated.
- creation
Date Number - The date when the keyring was created.
- description String
- The description of the keyring.
- id String
- The unique ID of the keyring. The value is in the UUID format.
- key
Count Number - Key ring key count.
- keyring
Name String - The name of the keyring.
- keyring
Type String - The type of the keyring.
- trn String
- The information about the tenant resource name (TRN).
- uid String
- The tenant ID of the keyring.
- update
Date Number - The date when the keyring was updated.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.