Skip to content

Setting up local credentials

Local credentials let you store a username and password, or a password only, directly in Certificate Manager - SaaS, without connecting an external credential manager such as CyberArk or HashiCorp Vault. You save the credential once and then assign it to as many machines as you need. When you change the password, every machine that uses the credential picks up the new password the next time Certificate Manager - SaaS uses it.

Not for production

Local credentials are for proofs of concept, demos, and test or development environments. We don't recommend them for production. For production machines, use an enterprise credential manager, such as CyberArk or BeyondTrust.

Who can use a local credential

Any user who can configure a machine can use every local credential available to them on that machine, including a machine whose address they choose, and Certificate Manager - SaaS sends the credential to that machine. System Administrators and PKI Administrators can choose any credential for a machine. Resource Owners can choose only the credentials that belong to their teams. Grant machine configuration rights only to users you trust with these shared logins.

Feature enablement

Local credentials require the credential manager capability, which requires additional licensing. If you don't see the menu options mentioned in the steps below, contact your Palo Alto Networks representative.

How Certificate Manager - SaaS protects local credentials

  • Certificate Manager - SaaS encrypts the password as soon as you save it, using a key that AWS Key Management Service (KMS) manages and that is specific to your tenant's data. Certificate Manager - SaaS never stores the password unencrypted.
  • No page and no API returns the password after you save it. You can replace a password, but you can't view it.
  • When a machine whose connector runs on a VSatellite needs the credential, Certificate Manager - SaaS decrypts it and immediately re-encrypts it for your VSatellites. Only a VSatellite can decrypt it, and it uses the credential to sign in to the machine.
  • For a machine whose connector runs in the cloud, Certificate Manager - SaaS decrypts the credential and immediately re-encrypts it for that connector only. The re-encrypted credential expires after 30 minutes.
  • Every time Certificate Manager - SaaS decrypts a local credential for a machine, it records a RetrieveCredential succeeded event in the Event Log, with the connector, the operation, and, for a connector that runs on a VSatellite, the VSatellite that used the credential.

Step 1: Add the Local Credential Provider

Before anyone can create local credentials, a System Administrator adds the Local Credential Provider. Each tenant can have only one Local Credential Provider.

Performed by: System Administrator

  1. Sign in to Certificate Manager - SaaS.

  2. Click Integrations > Credential Managers.

  3. Click New, and then select Local Credential Provider.

    If a Local Credential Provider already exists, this option is unavailable.

  4. Complete the fields according to the following guidelines:

    • Configuration name: A name for the provider. It must be at least 3 characters, with no leading or trailing spaces.

    The provider has no other settings. There is no vault address to enter, no VSatellite to choose, and no Test Access.

  5. Click Save.

To rename the provider later, open it from the list. The provider's details show how many local credentials it holds.

Step 2: Create local credentials

With the provider in place, you can create local credentials.

Before you begin

  • Set up a team in Certificate Manager - SaaS to use the credential. The team you assign to the credential must be the same team you assign to the machine in Step 3 below.

  • Have the username and password that the machine expects.

Performed by: System Administrator

  1. Click Inventory > Credentials.

  2. Click New > Local Credential. Complete the fields on the Add a New Credential screen according to the following guidelines:

    • Name: A name for the credential. It must be at least 3 characters, with no leading or trailing spaces.
    • Local Credential Provider: Selected for you. You can't change it.
    • Owning Teams: The teams that can use this credential.
    • Access Type: Choose what the credential holds:
      • Username and Password: (Default) Enter the Username and the Password.
      • Password Only: Enter the Password only. Use this for machines that sign in with a password alone.
    • Username: Up to 256 characters.
    • Password: Up to 4,096 characters. Click the eye icon to check what you typed. You can't view the password after you save the credential.
  3. Click Save. The Credentials page opens with your new credential listed.

Local credentials have no Test Access button, because there is no external credential manager to test. To check a local credential, test access on a machine that uses it, as described in Step 3.

Step 3: Assign the local credential on a Certificate Manager - SaaS machine

Performed by: Resource Owner or higher

Now that the credential is in Certificate Manager - SaaS, you can assign it to a machine. If your machine's connector runs on a VSatellite, make sure you've deployed one first. Pay attention to the following when creating a new machine that you want to use this credential:

  • The Owning Team on the machine configuration must match the Owning Team on the credential.
  • During machine configuration, when asked for a Credential Type, choose Select Credentials, and then select your local credential. A machine that signs in with a username and password lists only credentials whose Access Type is Username and Password.

After you assign the credential, test access on the machine. This is the first check that confirms the username and password work on the machine.

Manage local credentials

Performed by: System Administrator

  1. Click Inventory > Credentials.

Click the credential to open its details, and then:

  • Replace the password: Click Replace password, enter the New password, and click Save. The new password takes effect for every machine the next time Certificate Manager - SaaS uses the credential, for example at the next provisioning or discovery. You don't need to change the machines.
  • Change the username: Enter the new Username. Changing the username also requires a new password.
  • Rename the credential or change its teams: Edit the fields, and click Save. The stored password doesn't change.
  • Delete the credential: Click Delete. You can't delete a credential that is assigned to a machine. Assign another credential to the machines first.

To delete the Local Credential Provider, first delete all of its local credentials.

Limitations

  • Each tenant can have one Local Credential Provider.
  • Certificate Manager - SaaS supports only usernames and passwords, or passwords alone. It doesn't support SSH keys, certificates, or other kinds of secret.
  • Certificate Manager - SaaS doesn't rotate local credentials or remind you to change them. When the password changes on the machine, replace it in Certificate Manager - SaaS.
  • You can't view or export a stored password.

Troubleshooting

Use these tips to troubleshoot common errors.

Error Resolution
Local Credential Provider is unavailable in the New menu on the Credential Managers page A Local Credential Provider already exists. Each tenant can have only one. Open the existing provider from the list.
No Local Credential Provider is available. Ask an administrator to add one on the Credential Managers page and share it with this workspace. No one has added a provider. Ask a System Administrator to complete Step 1.
A machine doesn't list your local credential Check that the machine and the credential have the same Owning Team, and that the credential's Access Type matches what the machine needs.
Testing access on the machine fails Check the username and password on the machine itself, and replace the password in Certificate Manager - SaaS if it changed. If the machine's connector runs on a VSatellite, check that a VSatellite is active. Open the Event Log and look for a RetrieveCredential failed event. It explains why Certificate Manager - SaaS couldn't deliver the credential.