aspire secret get command
Name
aspire secret get - Get a secret value.
Synopsis
aspire secret get [options]
Description
The aspire secret get command retrieves a user secret value for an Aspire AppHost.
The command returns the following exit codes:
0—The command succeeded.3—Failed to find the AppHost project.4—The specified secret key was not found.
Arguments
The following arguments are available:
keyThe secret key to retrieve.
Options
The following options are available:
--apphost <apphost>The path to the Aspire AppHost project file.
-
-
-
-
-
Examples
-
-
-
-
Get the value of a password parameter:
aspire secret get Parameters:postgres-passwordGet a secret for a specific AppHost:
aspire secret get Parameters:rabbitmq-password --apphost ./src/MyApp.AppHost/MyApp.AppHost.csproj