< Back

Approve-EdgeAppCredential

Sun Jan 19, 2020 6:00 pm

NAME Approve-EdgeAppCredential



SYNOPSIS

Approve an existing credential, or an apiproduct on a credential, for a developer app.





SYNTAX

Approve-EdgeAppCredential [[-AppName] <String>] [[-Developer] <String>] [[-Key] <String>] [[-ApiProduct] <String>]

[[-Org] <String>] [<CommonParameters>]





DESCRIPTION

Approve an existing credential from a developer app. Or, approve a specific

API Product on a credential for a developer app. Approving a credential that is pending

or has been revoked allows the credential to be used at runtime.





PARAMETERS

-AppName <String>

Required. The name of the developer app from which the credential will be approved.



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Developer <String>

Required. The id or email of the developer that owns the app for which the credential will be approved.



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Key <String>

Required. The consumer key for the credential to be approved.



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ApiProduct <String>

Optional. The name of the API Product to be approved. It must be present on the credential.



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Org <String>

Optional. The Apigee Edge organization. The default is to use the value from Set-EdgeConnection.



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Approve-EdgeAppCredential -AppName DPC6 -Developer dchiesa@example.org -Key pd0mg1FuedmfCpY9gWZonQmR2fGD3Osw













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Approve-EdgeAppCredential -AppName DPC6 -Developer dchiesa@example.org -Key

pd0mg1FuedmfCpY9gWZonQmR2fGD3Osw -ApiProduct Product123















RELATED LINKS

Revoke-EdgeAppCredential

Update-EdgeDevAppStatus