How To Use the Spaceship DNS Plugin¶
This plugin works against the Spaceship domain registrar. It is assumed that you have already setup an account and have the domain registered that you will be working against.
Setup¶
- Login to your account and navigate to the API Manager.
- If not already enabled, click the
Enable API Accessbutton. - Click the
New API Keybutton - Provide a key name and select
Custom Access - Disable all permissions except
ReadandWritein theDNS Recordssection - Click
Create API Key - Record the short key value and the longer secret value for use with the plugin. The secret value cannot be retrieved later.
- Check the box to confirm you've saved the secret and click
Done
Using the Plugin¶
The API key and secret value will be used as the username and password for the SpaceshipCredential plugin parameter which is a PSCredential object.
$pArgs = @{
SpaceshipCredential = (Get-Credential)
}
New-PACertificate example.com -Plugin Spaceship -PluginArgs $pArgs