You can save the credential in a file . . . the password's encrypted and can only be used on the machine on which the credential was created\saved.
$Credential = Get-Credential
$Credential | Export-CliXml -Path c:\junk\c.cred
To use the credential:
$Credential = Import-CliXml -Path c:\junk\c.Cred