Manage Credentials

Note

As an instance administrator, you have access to all credentials on the platform.

Create a Credential

  1. Go to verified_user Administration Area > key Credentials and select password Credentials.

  2. Click New credential.

  3. Choose a Type: URL, Login or SSH Key. The form fields adapt depending on the type selected.

  4. Select a Provider — the vault where this credential will be stored.

  5. Fill in the credential fields for the selected type.

  6. Set the Visibility:

    • Public: accessible by all organizations by default.

    • Private: requires manual assignment to each organization.

  7. Add a comment if needed, then click Create.

Note

You can also create a credential directly from a specific vault: go to Credential Providers > click on your vault > Credentials tab > New credential. The Provider field will be pre-filled automatically.

Enable Automatic Password Rotation

For a Login credential, the vault can regularly change the account password. Containers and computers always receive the current password.

Warning

Once rotation is enabled, only the vault knows the account password, and the portal does not display it. Any use of the account outside Reemo (service, scheduled task, manual sign-in) stops working at the first password change.

Important

The rotation fields appear only when three conditions are met: the credential is of type Login, a provider is selected, and that provider can perform rotation. For the internal Vault, this requires the infrastructure administrator to have installed the selfrotate plugin and declared the targets (see Automatic Password Rotation (Optional)), and the CredentialAPI to be up to date (version 1.2.0).

When you create the credential, choose the Login type, then select Automatic password rotation at the bottom of the form. If the checkbox does not appear, check the conditions above. The fields displayed depend on the selected provider.

With the internal Vault (selfrotate plugin)

The Email or Username field becomes required, and the Password field becomes Current password of the account: enter the password the account uses today. Only the vault will know it afterward. For an Active Directory target, enter the short sign-in name of the account (sAMAccountName, for example svc-app), without @ or \.

  • Target: the Active Directory, LDAP, or SSH server that hosts the account. The list shows the name, the type, and the address of the targets declared in the inventory at deployment.

  • Account DN: distinguished name of the account (for example CN=svc-app,OU=Service,DC=corp,DC=local). This field is optional and takes precedence over the username. It exists only for Active Directory and LDAP targets: it disappears when you choose an SSH target.

  • Rotate the password every and Unit: rotation frequency, in seconds, minutes, hours, or days. This interval must exceed the minimum password age defined by the target’s password policy.

  • Change the password as soon as rotation is enabled: if selected, the vault changes the password immediately. Otherwise, the password you entered stays valid until the first rotation.

With an external Vault (bind account)

An external Vault only handles rotation of LDAP credentials, with a bind account (BINDDN) allowed to change the passwords of other accounts. Beforehand, configure the LDAP engine on your external Vault by following the HashiCorp documentation, then enter its LDAP engine path on the provider (see Configuring a Credential Provider).

The password you enter is replaced by the vault as soon as the credential is created. The form has the Account DN, Rotate the password every, and Unit fields, without Target. The Change the password as soon as rotation is enabled option is not offered: instead, the form states that the vault resets the password with its bind account as soon as rotation is enabled.

After creation

Once the credential is created, the Target and the Account DN can no longer be changed, but you can still change the interval. A Rotation badge identifies these credentials in the list of credentials and in the Credentials tab of a container profile.

The overview of the credential contains a Password rotation block, which shows the mechanism in use (Rotation by), the State, the account concerned, the Rotation period, the Last rotation, and the Next rotation. In this block, Rotate the password changes the account password right away, without waiting for the next rotation. Re-enter the current password tells the vault the account password again, when it was changed other than by the rotation while rotation is configured.

Fix a failure or stop rotation

A rotation failure never makes you lose the account password. The plugin first writes the new password to an internal journal, and replaces the one it stores only once the change is confirmed: until then, the vault keeps providing the old password, which stays valid.

What happens next depends on the cause of the failure:

Case

Example

Next step

Target unreachable

Domain controller down, timeout

Automatic retry after 5, 10, 20, then 40 minutes, then every hour, with no limit.

Change refused by the target

Password too recent, history, complexity

Same retry.

Current password refused

Password changed outside the vault

Automatic rotation stops to avoid locking the account. Use Re-enter the current password.

Uncertain result

Interruption during the change

The plugin tests the new password, then the old one (2 connections at most) and keeps the one that works. If it cannot test, it retries with the same delays.

Neither password works

Intervention is required.

Warning

If you delete the credential, the account keeps the last password set by the vault, which nobody can read anymore: reset it on the Active Directory server, the LDAP server, or the SSH server concerned.

To stop rotation, delete the credential from the portal. To resume it afterward, create the credential again with the account’s new password.

See also

Assign a Credential to a Container Profile — as an instance administrator, go to Organizations > select the relevant organization first, then follow the same steps.