allow pubkey command to also take in secrets