< Back

Add-EdgeAppCredential

Sun Jan 19, 2020 6:00 pm

NAME Add-EdgeAppCredential



SYNOPSIS

Add a new credential to an existing developer app.





SYNTAX

Add-EdgeAppCredential [[-AppName] <String>] [[-Name] <String>] [[-Developer] <String>] [-ApiProducts] <String[]>

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





DESCRIPTION

Add a new credential to an existing developer app.





PARAMETERS

-AppName <String>

The name of the developer app to which the credential will be added.



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

Synonym for AppName.



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Developer <String>

The id or email of the developer that owns the app to which the credential will be added.



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ApiProducts <String[]>

An array of strings, the names of API Products that should be enabled for this credential.



Required? true

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Expiry <String>

Optional. The expiry for the credential. This can be a string like '90d' or '120m',

or like '2016-12-10'.

The default is no expiry.



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Org <String>

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



Required? false

Position? 6

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:\\>Add-EdgeAppCredential -Name DPC6 -Developer dchiesa@example.org -Expiry '2016-12-10' -ApiProducts @(

'Product-7' )















RELATED LINKS

Get-EdgeAppCredential