Get-AzAppConfigurationStoreKey
Lists the access key for the specified configuration store.
Syntax
Get-AzAppConfigurationStoreKey
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Lists the access key for the specified configuration store.
Examples
Example 1: List all store keys of an app configuration store
Get-AzAppConfigurationStoreKey -Name azpstest-appstore -ResourceGroupName azpstest_gp
ConnectionString LastModified Name ReadOnly ResourceGroupName Value
---------------- ------------ ---- -------- ----------------- ---
Endpoint=https://azpstest-appstore.azconfig.io;Id=SXvQ-l0-s0:1EG/TDfXP30kHZoLxGxb;Secret=GknYAPIAFixLJw5wfGOGt0dgwj0hr2eGoRnusIgkNdc= 2022-08-24 AM 06:11:51 Secondary False Gk…
Endpoint=https://azpstest-appstore.azconfig.io;Id=WCoZ-l0-s0:OY71pf8vbFCZTtDpuIfE;Secret=06+woMjMn4iQNhpvmpCuLQys0qjGXbal3UFgQxAipas= 2022-08-24 AM 06:11:51 Primary Read Only True 06…
Endpoint=https://azpstest-appstore.azconfig.io;Id=7sDt-l0-s0:1tEtn3TApcmgJjk0PlqM;Secret=jZDAxcgFtEhj5ug2VYjUvdImaHybGwRSvkq45dvnVFk= 2022-08-24 AM 06:11:51 Secondary Read Only True jZ…
Endpoint=https://azpstest-appstore.azconfig.io;Id=m6TW-l0-s0:g302jTPLEpvmI0AahitF;Secret=vt5aKm6ezq2iVKNjQo+dQpA8QyuH1UhH9Jv8N3jfZdE= 2022-08-24 AM 06:13:21 Primary False vt…
This command lists all store keys of an app configuration store.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
The name of the configuration store.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group to which the container registry belongs.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The Microsoft Azure subscription ID.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Notes
ALIASES