Skip to content

keyring_secret_download

Sectech

Returns a file containing the specified secret.

Params

attribute description
id*
string
The ID of the secret to donwload
encryption_passphrase
string
A passphrase used to encrypt the file. If not sent the file will not be encrypted.

Return

attribute description
base64*
string
Base64 encoded file containing the secret
extension*
'key'|'crt'|'pem'|'rmtkey'|'dbkey'|'uftp'|'pskey'|'pub'|'zip'
The file extension based on the type of the downloaded secret.
  • pkey_cert: PEM (*.key)
  • cert_single: PEM (*.crt)
  • cert_chain: PEM (*.crt)
  • dhparam: PEM (*.pem)
  • remote_access: PEM (*.rmtkey)
  • ssh_private: binary (*.dbkey)
  • uftp: PEM (*.uftp)
  • psk: hexadecimal (*.pskey)
  • openvpn: text (*.ovpn_key)
  • encrypted data: ZIP (*.zip)