< Back
Import-FreeIPAAPICrendentials
Post
NAME Import-FreeIPAAPICrendentials
SYNOPSIS
Import from external config file, your previously saved credential to a global variable
SYNTAX
Import-FreeIPAAPICrendentials [-MasterPassword] <SecureString> [<CommonParameters>]
DESCRIPTION
Import your protected/ecrypted credential from %appdata%\\Manage-FreeIPA\\Manage-FreeIPA.xml (saved with
Set-FreeIPAAPICredentials cmdlet) into $FreeIPAAPICredentials global variable.
PARAMETERS
-MasterPassword <SecureString>
Master passowrd previously used to protect your external file.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
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
System.Security.SecureString
OUTPUTS
System.Object
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> Import-FreeIPAAPICrendentials -MasterPassword (ConvertTo-SecureString -String "keypass" -AsPlainText
-Force)
Import your encrypted credential protected by keypass passphrase into $FreeIPAAPICredential
RELATED LINKS
SYNOPSIS
Import from external config file, your previously saved credential to a global variable
SYNTAX
Import-FreeIPAAPICrendentials [-MasterPassword] <SecureString> [<CommonParameters>]
DESCRIPTION
Import your protected/ecrypted credential from %appdata%\\Manage-FreeIPA\\Manage-FreeIPA.xml (saved with
Set-FreeIPAAPICredentials cmdlet) into $FreeIPAAPICredentials global variable.
PARAMETERS
-MasterPassword <SecureString>
Master passowrd previously used to protect your external file.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
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
System.Security.SecureString
OUTPUTS
System.Object
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> Import-FreeIPAAPICrendentials -MasterPassword (ConvertTo-SecureString -String "keypass" -AsPlainText
-Force)
Import your encrypted credential protected by keypass passphrase into $FreeIPAAPICredential
RELATED LINKS