1. Packages
  2. Azure Native
  3. API Docs
  4. apimanagement
  5. listTenantAccessSecrets
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.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.apimanagement.listTenantAccessSecrets

Explore with Pulumi AI

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.2.0 published on Monday, Apr 14, 2025 by Pulumi

Get tenant access information details.

Uses Azure REST API version 2022-09-01-preview.

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

Using listTenantAccessSecrets

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 listTenantAccessSecrets(args: ListTenantAccessSecretsArgs, opts?: InvokeOptions): Promise<ListTenantAccessSecretsResult>
function listTenantAccessSecretsOutput(args: ListTenantAccessSecretsOutputArgs, opts?: InvokeOptions): Output<ListTenantAccessSecretsResult>
Copy
def list_tenant_access_secrets(access_name: Optional[str] = None,
                               resource_group_name: Optional[str] = None,
                               service_name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> ListTenantAccessSecretsResult
def list_tenant_access_secrets_output(access_name: Optional[pulumi.Input[str]] = None,
                               resource_group_name: Optional[pulumi.Input[str]] = None,
                               service_name: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[ListTenantAccessSecretsResult]
Copy
func ListTenantAccessSecrets(ctx *Context, args *ListTenantAccessSecretsArgs, opts ...InvokeOption) (*ListTenantAccessSecretsResult, error)
func ListTenantAccessSecretsOutput(ctx *Context, args *ListTenantAccessSecretsOutputArgs, opts ...InvokeOption) ListTenantAccessSecretsResultOutput
Copy

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

public static class ListTenantAccessSecrets 
{
    public static Task<ListTenantAccessSecretsResult> InvokeAsync(ListTenantAccessSecretsArgs args, InvokeOptions? opts = null)
    public static Output<ListTenantAccessSecretsResult> Invoke(ListTenantAccessSecretsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListTenantAccessSecretsResult> listTenantAccessSecrets(ListTenantAccessSecretsArgs args, InvokeOptions options)
public static Output<ListTenantAccessSecretsResult> listTenantAccessSecrets(ListTenantAccessSecretsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:apimanagement:listTenantAccessSecrets
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccessName
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the Access configuration.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ServiceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the API Management service.
AccessName
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the Access configuration.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ServiceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the API Management service.
accessName
This property is required.
Changes to this property will trigger replacement.
String
The identifier of the Access configuration.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
serviceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the API Management service.
accessName
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the Access configuration.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
serviceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the API Management service.
access_name
This property is required.
Changes to this property will trigger replacement.
str
The identifier of the Access configuration.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
service_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the API Management service.
accessName
This property is required.
Changes to this property will trigger replacement.
String
The identifier of the Access configuration.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
serviceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the API Management service.

listTenantAccessSecrets Result

The following output properties are available:

Enabled bool
Determines whether direct access is enabled.
Id string
Access Information type ('access' or 'gitAccess')
PrimaryKey string
Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
PrincipalId string
Principal (User) Identifier.
SecondaryKey string
Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
Enabled bool
Determines whether direct access is enabled.
Id string
Access Information type ('access' or 'gitAccess')
PrimaryKey string
Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
PrincipalId string
Principal (User) Identifier.
SecondaryKey string
Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
enabled Boolean
Determines whether direct access is enabled.
id String
Access Information type ('access' or 'gitAccess')
primaryKey String
Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
principalId String
Principal (User) Identifier.
secondaryKey String
Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
enabled boolean
Determines whether direct access is enabled.
id string
Access Information type ('access' or 'gitAccess')
primaryKey string
Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
principalId string
Principal (User) Identifier.
secondaryKey string
Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
enabled bool
Determines whether direct access is enabled.
id str
Access Information type ('access' or 'gitAccess')
primary_key str
Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
principal_id str
Principal (User) Identifier.
secondary_key str
Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
enabled Boolean
Determines whether direct access is enabled.
id String
Access Information type ('access' or 'gitAccess')
primaryKey String
Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
principalId String
Principal (User) Identifier.
secondaryKey String
Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
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.2.0 published on Monday, Apr 14, 2025 by Pulumi