1. Packages
  2. Azure Native
  3. API Docs
  4. servicefabricmesh
  5. getSecretValue
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.servicefabricmesh.getSecretValue

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 the information about the specified named secret value resources. The information does not include the actual value of the secret.

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

Using getSecretValue

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 getSecretValue(args: GetSecretValueArgs, opts?: InvokeOptions): Promise<GetSecretValueResult>
function getSecretValueOutput(args: GetSecretValueOutputArgs, opts?: InvokeOptions): Output<GetSecretValueResult>
Copy
def get_secret_value(resource_group_name: Optional[str] = None,
                     secret_resource_name: Optional[str] = None,
                     secret_value_resource_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetSecretValueResult
def get_secret_value_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                     secret_resource_name: Optional[pulumi.Input[str]] = None,
                     secret_value_resource_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetSecretValueResult]
Copy
func LookupSecretValue(ctx *Context, args *LookupSecretValueArgs, opts ...InvokeOption) (*LookupSecretValueResult, error)
func LookupSecretValueOutput(ctx *Context, args *LookupSecretValueOutputArgs, opts ...InvokeOption) LookupSecretValueResultOutput
Copy

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

public static class GetSecretValue 
{
    public static Task<GetSecretValueResult> InvokeAsync(GetSecretValueArgs args, InvokeOptions? opts = null)
    public static Output<GetSecretValueResult> Invoke(GetSecretValueInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSecretValueResult> getSecretValue(GetSecretValueArgs args, InvokeOptions options)
public static Output<GetSecretValueResult> getSecretValue(GetSecretValueArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:servicefabricmesh:getSecretValue
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Azure resource group name
SecretResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the secret resource.
SecretValueResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the secret resource value which is typically the version identifier for the value.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Azure resource group name
SecretResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the secret resource.
SecretValueResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the secret resource value which is typically the version identifier for the value.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Azure resource group name
secretResourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the secret resource.
secretValueResourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the secret resource value which is typically the version identifier for the value.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Azure resource group name
secretResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the secret resource.
secretValueResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the secret resource value which is typically the version identifier for the value.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Azure resource group name
secret_resource_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the secret resource.
secret_value_resource_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the secret resource value which is typically the version identifier for the value.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Azure resource group name
secretResourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the secret resource.
secretValueResourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the secret resource value which is typically the version identifier for the value.

getSecretValue Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Id string
Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Location string
The geo-location where the resource lives
Name string
The name of the resource
ProvisioningState string
State of the resource.
Type string
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
Tags Dictionary<string, string>
Resource tags.
Value string
The actual value of the secret.
AzureApiVersion string
The Azure API version of the resource.
Id string
Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Location string
The geo-location where the resource lives
Name string
The name of the resource
ProvisioningState string
State of the resource.
Type string
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
Tags map[string]string
Resource tags.
Value string
The actual value of the secret.
azureApiVersion String
The Azure API version of the resource.
id String
Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
location String
The geo-location where the resource lives
name String
The name of the resource
provisioningState String
State of the resource.
type String
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
tags Map<String,String>
Resource tags.
value String
The actual value of the secret.
azureApiVersion string
The Azure API version of the resource.
id string
Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
location string
The geo-location where the resource lives
name string
The name of the resource
provisioningState string
State of the resource.
type string
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
tags {[key: string]: string}
Resource tags.
value string
The actual value of the secret.
azure_api_version str
The Azure API version of the resource.
id str
Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
location str
The geo-location where the resource lives
name str
The name of the resource
provisioning_state str
State of the resource.
type str
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
tags Mapping[str, str]
Resource tags.
value str
The actual value of the secret.
azureApiVersion String
The Azure API version of the resource.
id String
Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
location String
The geo-location where the resource lives
name String
The name of the resource
provisioningState String
State of the resource.
type String
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
tags Map<String>
Resource tags.
value String
The actual value of the secret.

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