How to use bulk actions for secrets
  • 3 minutes to read
  • Dark
    Light
  • PDF

How to use bulk actions for secrets

  • Dark
    Light
  • PDF

Article summary

You can use bulk operations to enable, disable, or expire the secrets registered in the senhasegura DevOps Secret Manager (DSM) when necessary.

Info

As visual feedback, you can follow the stage you are currently at. To do this, look at the top portion of the credentials list screen to see where you are in the bulk operation process.

Perform bulk operations to DSM secrets

  1. On senhasegura, in the top left corner, click Grid Menu, represented by the nine squares, and select DevOps Secret Manager.
  2. In the side menu, select Secrets.
  3. On the secrets list page, select the ones you want to change and, in the bottom right corner, click Bulk Action.
  4. Choose the type of change. You can choose three options: Inactivate DSM secrets, Activate DSM secrets, and Expire DSM secrets.
Caution

To carry out any of the bulk operations, there must be approvers. For more information, see the documentation on How to register an approver user.

Enable secrets in DSM using Bulk Actions

Info

The bulk action option allows you to activate or reactivate several secrets simultaneously. Note, however, that only disabled secrets can be selected for activation.

  1. After selecting the Enable DSM secrets option, click the Next button.
  2. Now, you can choose the secrets you want to enable. To do this, click on the sum icon next to the word Secrets.
  3. In the Secrets modal, select all the secrets you want to enable. You can use the search tools at the top of the modal.
  4. Click Add.
  5. Click Next.
  6. In the third step, you have two sections:
    1. Changes: displays the fields that have been changed, in this case: Enabled - Yes.
    2. Affected entities: displays information about the entities affected by the bulk operation, such as Code, Secret name, Identity, Engine, Environment, and Expiration Date.
  7. Click Save.

Disable secrets in DSM using Bulk Actions

Info

The Bulk action option allows you to disable several secrets simultaneously. Note, however, that only active secrets can be selected for disabling.

  1. After selecting the Disable DSM secrets option, click the Next button.
  2. Now, you can choose the secrets you want to disable. To do this, click on the sum icon next to the word Secrets.
  3. In the Secrets modal, select all the secrets you want to disable. You can use the search tools at the top of the modal.
  4. Click Add.
  5. Click Next.
  6. In the third step, you have two sections:
    1. Changes: displays the fields that have been changed, in this case: Enabled - No.
    2. Affected entities: displays information about the entities affected by the bulk operation, such as Code, Secret name, Identity, Engine, Environment, and Expiration Date.
  7. Click Save.

Expire secrets in DSM using Bulk Actions

Info

The bulk action option allows you to expire several secrets simultaneously. Note, however, that only enabled secrets can be expired.

  1. After selecting the Expire DSM secrets option, click the Next button.
  2. Now, you can choose the secrets you want to expire. To do this, click on the sum icon next to the word Secrets.
  3. In the Secrets modal, select all the secrets you want to expire. You can use the search tools at the top of the modal.
  4. Click Add.
  5. Click Next.
  6. In the third step, you have two sections:
    1. Changes: displays the fields that have been changed, in this case: Expiration date - DD/MM/AAAA HH:MM:SS.
      1. The expiration date will take the value of the current date and time on the user's system.
    2. Affected entities: displays information about the entities affected by the bulk operation, such as Code, Secret name, Identity, Engine, Environment, and Expiration Date.
  7. Click Save.

If no errors have occurred, you'll see a success message: "Bulk operation request created". The operation will be executed after approval by those responsible. Together with a shortcut button to the Bulk operations section of senhasegura.

Once the process has been completed, a user who is registered as an approver for the DSM module will need to approve the changes for them to be applied.


Do you still have questions? Reach out to the senhasegura Community


Was this article helpful?