Get-DifyAppAPIKey
Warning
This help was primarily created by a generative AI. It may contain partially inaccurate expressions.
SYNOPSIS
Retrieve the API key(s) associated with a specific app.
SYNTAX
Get-DifyAppAPIKey [[-App] <PSObject>] [<CommonParameters>]
DESCRIPTION
The Get-DifyAppAPIKey
cmdlet retrieves API key(s) for a specified app in your Dify workspace. You can provide the app object as input, either directly or via a pipeline from Get-DifyApp
.
NOTE: This help was primarily created by a generative AI. It may contain partially inaccurate expressions.
EXAMPLES
Example 1
Get-DifyApp -Name "MyApp" | Get-DifyAppAPIKey
Get API key (specify directly from Get-DifyApp).
Example 2
$AppsToGetAPIKey = Get-DifyApp -Name "MyApp"
Get-DifyAppAPIKey -App $AppsToGetAPIKey
Get API key (use result from Get-DifyApp).
PARAMETERS
-App
Specifies the app object for which the API key(s) will be retrieved. The app object can be passed directly or via a pipeline from Get-DifyApp
.
Type: PSObject
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.