Skip to content

get-SilverfortServiceAccountGuid

SYNOPSIS

Gets the Silverfort GUID for a given service-account

SYNTAX

get-SilverfortServiceAccountGuid [-Object] <String> [-jwtToken] <String> [<CommonParameters>]

DESCRIPTION

This function will return the Silverfort-GUID for a given service-account which must be used in other functions.

EXAMPLES

EXAMPLE 1

get-SilverfortServiceAccountGuid -jwtToken $jwttoken -Object 'sys_silverforttest'

Receive the GUID for the serviceaccount sys_silverforttest - Caution: this is case-sensitive

CHANGELOG YYYY-MM-DD - Naam - Wat gewijzigd 2025-01-06 - MM - Initieel script

PARAMETERS

-Object

Name of the serviceaccount. This is case-sensitive!

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-jwtToken

A valid JWT-token

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES