Fortinet white logo
Fortinet white logo

Examples

Creating a secret with Unix Account (SSH Password) template

Creating a secret with Unix Account (SSH Password) template

To create a secret with Unix Account (SSH Password) template
  1. Go to Secrets > Secret List.
  2. In Secret List, select Create.

    The Create New Secret in: dialog appears.

  3. Select the folder where you intend to add the secret.
  4. Select Create Secret.

    The New Secret window opens.

  5. Enter a name for the secret.
  6. In the Template dropdown, select Unix Account (SSH Password) default template.

    Alternatively, in the Template dropdown, select Unix Account (SSH Key) default template.

  7. In the Fields pane, when Unix Account (SSH Password) is selected as the template:
    1. In the Host field, enter the IP address or the FQDN of the SFTP server.
    2. In the Username field, enter the username for the SFTP server.
    3. In the Password field, enter the password for the SFTP server.

    In the Fields pane, when Unix Account (SSH Key) is selected as the template:

    1. In the Host field, enter the IP address or the FQDN of the SFTP server.
    2. In the Username field, enter the username for the SFTP server.
    3. In Public-key, select from File Upload, Text, or Generate.
      1. When File Upload is selected, select Upload, locate the key file on your management computer, and select Open.
      2. When Text is selected, enter the public key in the text area.
      3. When Generate is selected, you can automatically generate a public key by choosing a type of encryption algorithm and the number of bits.
    4. In Private-key, select File Upload or Text and follow the corresponding instructions from the previous step.

      Private-key is automatically generated when the Public-key is set to be automatically generated.

    5. Optionally, in Passphrase, enter a passphrase used to decrypt the private key set during the key pair generation.
    6. In the Confirm Passphrase field that appears after the passphrase is filled in, enter the passphrase again.
  8. Click Submit.

Creating a secret with Unix Account (SSH Password) template

Creating a secret with Unix Account (SSH Password) template

To create a secret with Unix Account (SSH Password) template
  1. Go to Secrets > Secret List.
  2. In Secret List, select Create.

    The Create New Secret in: dialog appears.

  3. Select the folder where you intend to add the secret.
  4. Select Create Secret.

    The New Secret window opens.

  5. Enter a name for the secret.
  6. In the Template dropdown, select Unix Account (SSH Password) default template.

    Alternatively, in the Template dropdown, select Unix Account (SSH Key) default template.

  7. In the Fields pane, when Unix Account (SSH Password) is selected as the template:
    1. In the Host field, enter the IP address or the FQDN of the SFTP server.
    2. In the Username field, enter the username for the SFTP server.
    3. In the Password field, enter the password for the SFTP server.

    In the Fields pane, when Unix Account (SSH Key) is selected as the template:

    1. In the Host field, enter the IP address or the FQDN of the SFTP server.
    2. In the Username field, enter the username for the SFTP server.
    3. In Public-key, select from File Upload, Text, or Generate.
      1. When File Upload is selected, select Upload, locate the key file on your management computer, and select Open.
      2. When Text is selected, enter the public key in the text area.
      3. When Generate is selected, you can automatically generate a public key by choosing a type of encryption algorithm and the number of bits.
    4. In Private-key, select File Upload or Text and follow the corresponding instructions from the previous step.

      Private-key is automatically generated when the Public-key is set to be automatically generated.

    5. Optionally, in Passphrase, enter a passphrase used to decrypt the private key set during the key pair generation.
    6. In the Confirm Passphrase field that appears after the passphrase is filled in, enter the passphrase again.
  8. Click Submit.