Name
Get-JS7GitCredentials
SYNOPSIS
Returns Git credentials for the current user account
SYNTAX
Get-JS7GitCredentials [<CommonParameters>]
DESCRIPTION
This cmdlet returns Git credentials for the current user account. The functionality considers the security level:
* LOW: credentials are added to the default account, typically the root account
* MEDIUM: credentials are added per user account
* HIGH: no credentials are added
Credentials are added for one of the following authentication methods:
* Password: A larger number of Git servers is configured to deny password authentication.
* Access Token: Such tokens are created and stored with the Git server.
* Private Key: Makes use of SSH authentication with a private key file
The following REST Web Service API resources are used:
* /inventory/repository/git/credentials
RELATED LINKS
EXAMPLES
-------------------------- EXAMPLE 1 --------------------------
PS > $creds = Get-JS7GitCredentials
Returns credentials for access to a Git server for the current account.