Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
volcengine.rocketmq.getAccessKeys
Explore with Pulumi AI
Use this data source to query detailed information of rocketmq access keys
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.rocketmq.getAccessKeys({
    instanceId: "rocketmq-cnoeea6b32118fc2",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.rocketmq.get_access_keys(instance_id="rocketmq-cnoeea6b32118fc2")
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rocketmq"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rocketmq.GetAccessKeys(ctx, &rocketmq.GetAccessKeysArgs{
			InstanceId: "rocketmq-cnoeea6b32118fc2",
		}, 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 foo = Volcengine.Rocketmq.GetAccessKeys.Invoke(new()
    {
        InstanceId = "rocketmq-cnoeea6b32118fc2",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.rocketmq.RocketmqFunctions;
import com.pulumi.volcengine.rocketmq.inputs.GetAccessKeysArgs;
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 foo = RocketmqFunctions.getAccessKeys(GetAccessKeysArgs.builder()
            .instanceId("rocketmq-cnoeea6b32118fc2")
            .build());
    }
}
variables:
  foo:
    fn::invoke:
      Function: volcengine:rocketmq:getAccessKeys
      Arguments:
        instanceId: rocketmq-cnoeea6b32118fc2
Using getAccessKeys
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 getAccessKeys(args: GetAccessKeysArgs, opts?: InvokeOptions): Promise<GetAccessKeysResult>
function getAccessKeysOutput(args: GetAccessKeysOutputArgs, opts?: InvokeOptions): Output<GetAccessKeysResult>def get_access_keys(access_key: Optional[str] = None,
                    instance_id: Optional[str] = None,
                    output_file: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetAccessKeysResult
def get_access_keys_output(access_key: Optional[pulumi.Input[str]] = None,
                    instance_id: Optional[pulumi.Input[str]] = None,
                    output_file: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetAccessKeysResult]func GetAccessKeys(ctx *Context, args *GetAccessKeysArgs, opts ...InvokeOption) (*GetAccessKeysResult, error)
func GetAccessKeysOutput(ctx *Context, args *GetAccessKeysOutputArgs, opts ...InvokeOption) GetAccessKeysResultOutput> Note: This function is named GetAccessKeys in the Go SDK.
public static class GetAccessKeys 
{
    public static Task<GetAccessKeysResult> InvokeAsync(GetAccessKeysArgs args, InvokeOptions? opts = null)
    public static Output<GetAccessKeysResult> Invoke(GetAccessKeysInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAccessKeysResult> getAccessKeys(GetAccessKeysArgs args, InvokeOptions options)
public static Output<GetAccessKeysResult> getAccessKeys(GetAccessKeysArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:rocketmq/getAccessKeys:getAccessKeys
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Instance
Id string - The id of rocketmq instance.
 - Access
Key string - The access key id of the rocketmq key.
 - Output
File string - File name where to save data source results.
 
- Instance
Id string - The id of rocketmq instance.
 - Access
Key string - The access key id of the rocketmq key.
 - Output
File string - File name where to save data source results.
 
- instance
Id String - The id of rocketmq instance.
 - access
Key String - The access key id of the rocketmq key.
 - output
File String - File name where to save data source results.
 
- instance
Id string - The id of rocketmq instance.
 - access
Key string - The access key id of the rocketmq key.
 - output
File string - File name where to save data source results.
 
- instance_
id str - The id of rocketmq instance.
 - access_
key str - The access key id of the rocketmq key.
 - output_
file str - File name where to save data source results.
 
- instance
Id String - The id of rocketmq instance.
 - access
Key String - The access key id of the rocketmq key.
 - output
File String - File name where to save data source results.
 
getAccessKeys Result
The following output properties are available:
- Access
Keys List<GetAccess Keys Access Key>  - The collection of query.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Instance
Id string - The id of rocketmq instance.
 - Total
Count int - The total count of query.
 - Access
Key string - The access key id of the rocketmq key.
 - Output
File string 
- Access
Keys []GetAccess Keys Access Key  - The collection of query.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Instance
Id string - The id of rocketmq instance.
 - Total
Count int - The total count of query.
 - Access
Key string - The access key id of the rocketmq key.
 - Output
File string 
- access
Keys List<GetAccess Keys Access Key>  - The collection of query.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - instance
Id String - The id of rocketmq instance.
 - total
Count Integer - The total count of query.
 - access
Key String - The access key id of the rocketmq key.
 - output
File String 
- access
Keys GetAccess Keys Access Key[]  - The collection of query.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - instance
Id string - The id of rocketmq instance.
 - total
Count number - The total count of query.
 - access
Key string - The access key id of the rocketmq key.
 - output
File string 
- access_
keys Sequence[GetAccess Keys Access Key]  - The collection of query.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - instance_
id str - The id of rocketmq instance.
 - total_
count int - The total count of query.
 - access_
key str - The access key id of the rocketmq key.
 - output_
file str 
- access
Keys List<Property Map> - The collection of query.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - instance
Id String - The id of rocketmq instance.
 - total
Count Number - The total count of query.
 - access
Key String - The access key id of the rocketmq key.
 - output
File String 
Supporting Types
GetAccessKeysAccessKey    
- Access
Key string - The access key id of the rocketmq key.
 - Acl
Config stringJson  - The acl config of the rocketmq key.
 - Actived bool
 - The active status of the rocketmq key.
 - string
 - The default authority of the rocketmq key.
 - Create
Time string - The create time of the rocketmq key.
 - Description string
 - The description of the rocketmq key.
 - Instance
Id string - The id of rocketmq instance.
 - Secret
Key string - The secret key of the rocketmq key.
 - Topic
Permissions List<GetAccess Keys Access Key Topic Permission>  - The custom authority of the rocketmq key.
 
- Access
Key string - The access key id of the rocketmq key.
 - Acl
Config stringJson  - The acl config of the rocketmq key.
 - Actived bool
 - The active status of the rocketmq key.
 - string
 - The default authority of the rocketmq key.
 - Create
Time string - The create time of the rocketmq key.
 - Description string
 - The description of the rocketmq key.
 - Instance
Id string - The id of rocketmq instance.
 - Secret
Key string - The secret key of the rocketmq key.
 - Topic
Permissions []GetAccess Keys Access Key Topic Permission  - The custom authority of the rocketmq key.
 
- access
Key String - The access key id of the rocketmq key.
 - acl
Config StringJson  - The acl config of the rocketmq key.
 - actived Boolean
 - The active status of the rocketmq key.
 - String
 - The default authority of the rocketmq key.
 - create
Time String - The create time of the rocketmq key.
 - description String
 - The description of the rocketmq key.
 - instance
Id String - The id of rocketmq instance.
 - secret
Key String - The secret key of the rocketmq key.
 - topic
Permissions List<GetAccess Keys Access Key Topic Permission>  - The custom authority of the rocketmq key.
 
- access
Key string - The access key id of the rocketmq key.
 - acl
Config stringJson  - The acl config of the rocketmq key.
 - actived boolean
 - The active status of the rocketmq key.
 - string
 - The default authority of the rocketmq key.
 - create
Time string - The create time of the rocketmq key.
 - description string
 - The description of the rocketmq key.
 - instance
Id string - The id of rocketmq instance.
 - secret
Key string - The secret key of the rocketmq key.
 - topic
Permissions GetAccess Keys Access Key Topic Permission[]  - The custom authority of the rocketmq key.
 
- access_
key str - The access key id of the rocketmq key.
 - acl_
config_ strjson  - The acl config of the rocketmq key.
 - actived bool
 - The active status of the rocketmq key.
 - str
 - The default authority of the rocketmq key.
 - create_
time str - The create time of the rocketmq key.
 - description str
 - The description of the rocketmq key.
 - instance_
id str - The id of rocketmq instance.
 - secret_
key str - The secret key of the rocketmq key.
 - topic_
permissions Sequence[GetAccess Keys Access Key Topic Permission]  - The custom authority of the rocketmq key.
 
- access
Key String - The access key id of the rocketmq key.
 - acl
Config StringJson  - The acl config of the rocketmq key.
 - actived Boolean
 - The active status of the rocketmq key.
 - String
 - The default authority of the rocketmq key.
 - create
Time String - The create time of the rocketmq key.
 - description String
 - The description of the rocketmq key.
 - instance
Id String - The id of rocketmq instance.
 - secret
Key String - The secret key of the rocketmq key.
 - topic
Permissions List<Property Map> - The custom authority of the rocketmq key.
 
GetAccessKeysAccessKeyTopicPermission      
- Permission string
 - The custom authority for the topic.
 - Topic
Name string - The name of the rocketmq topic.
 
- Permission string
 - The custom authority for the topic.
 - Topic
Name string - The name of the rocketmq topic.
 
- permission String
 - The custom authority for the topic.
 - topic
Name String - The name of the rocketmq topic.
 
- permission string
 - The custom authority for the topic.
 - topic
Name string - The name of the rocketmq topic.
 
- permission str
 - The custom authority for the topic.
 - topic_
name str - The name of the rocketmq topic.
 
- permission String
 - The custom authority for the topic.
 - topic
Name String - The name of the rocketmq topic.
 
Package Details
- Repository
 - volcengine volcengine/pulumi-volcengine
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
volcengineTerraform Provider.