1. Packages
  2. Azure Native
  3. API Docs
  4. redisenterprise
  5. listDatabaseKeys
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.redisenterprise.listDatabaseKeys

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

    Retrieves the access keys for the RedisEnterprise database.

    Uses Azure REST API version 2024-03-01-preview.

    Other available API versions: 2020-10-01-preview, 2021-02-01-preview, 2021-03-01, 2021-08-01, 2022-01-01, 2022-11-01-preview, 2023-03-01-preview, 2023-07-01, 2023-08-01-preview, 2023-10-01-preview, 2023-11-01, 2024-02-01, 2024-06-01-preview, 2024-09-01-preview, 2024-10-01, 2025-04-01, 2025-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native redisenterprise [ApiVersion]. See the version guide for details.

    Using listDatabaseKeys

    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 listDatabaseKeys(args: ListDatabaseKeysArgs, opts?: InvokeOptions): Promise<ListDatabaseKeysResult>
    function listDatabaseKeysOutput(args: ListDatabaseKeysOutputArgs, opts?: InvokeOptions): Output<ListDatabaseKeysResult>
    def list_database_keys(cluster_name: Optional[str] = None,
                           database_name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> ListDatabaseKeysResult
    def list_database_keys_output(cluster_name: Optional[pulumi.Input[str]] = None,
                           database_name: Optional[pulumi.Input[str]] = None,
                           resource_group_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[ListDatabaseKeysResult]
    func ListDatabaseKeys(ctx *Context, args *ListDatabaseKeysArgs, opts ...InvokeOption) (*ListDatabaseKeysResult, error)
    func ListDatabaseKeysOutput(ctx *Context, args *ListDatabaseKeysOutputArgs, opts ...InvokeOption) ListDatabaseKeysResultOutput

    > Note: This function is named ListDatabaseKeys in the Go SDK.

    public static class ListDatabaseKeys 
    {
        public static Task<ListDatabaseKeysResult> InvokeAsync(ListDatabaseKeysArgs args, InvokeOptions? opts = null)
        public static Output<ListDatabaseKeysResult> Invoke(ListDatabaseKeysInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListDatabaseKeysResult> listDatabaseKeys(ListDatabaseKeysArgs args, InvokeOptions options)
    public static Output<ListDatabaseKeysResult> listDatabaseKeys(ListDatabaseKeysArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:redisenterprise:listDatabaseKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ClusterName string
    The name of the Redis Enterprise cluster.
    DatabaseName string
    The name of the Redis Enterprise database.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ClusterName string
    The name of the Redis Enterprise cluster.
    DatabaseName string
    The name of the Redis Enterprise database.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    clusterName String
    The name of the Redis Enterprise cluster.
    databaseName String
    The name of the Redis Enterprise database.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    clusterName string
    The name of the Redis Enterprise cluster.
    databaseName string
    The name of the Redis Enterprise database.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    cluster_name str
    The name of the Redis Enterprise cluster.
    database_name str
    The name of the Redis Enterprise database.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    clusterName String
    The name of the Redis Enterprise cluster.
    databaseName String
    The name of the Redis Enterprise database.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    listDatabaseKeys Result

    The following output properties are available:

    PrimaryKey string
    The current primary key that clients can use to authenticate
    SecondaryKey string
    The current secondary key that clients can use to authenticate
    PrimaryKey string
    The current primary key that clients can use to authenticate
    SecondaryKey string
    The current secondary key that clients can use to authenticate
    primaryKey String
    The current primary key that clients can use to authenticate
    secondaryKey String
    The current secondary key that clients can use to authenticate
    primaryKey string
    The current primary key that clients can use to authenticate
    secondaryKey string
    The current secondary key that clients can use to authenticate
    primary_key str
    The current primary key that clients can use to authenticate
    secondary_key str
    The current secondary key that clients can use to authenticate
    primaryKey String
    The current primary key that clients can use to authenticate
    secondaryKey String
    The current secondary key that clients can use to authenticate

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi