通知を受け取る

UiPath Process Mining

UiPath Process Mining ガイド

資格情報ストアを設定する

はじめに

The credential store provides a way to use passwords without exposing these to developers.

The server administrator is responsible for setting up the credential store and filling it with passwords. The server administrator should provide a list of available credentials to developers. These developers can use the identifier of a password.

There are two available ways to store passwords:

  • a json file on disk;
  • in the Azure Key Vault.

📘

注:

You can only use one of the methods simultaneously.

前提条件

An Azure environment should be available for Azure Key Vault.

Setting up a file-based credential store

The file-based credential store is a json file that resides on disk, called credential_store.json. This file must contain a single object, containing a set of key-value pairs, where:

  • key is the identifier that developers should use,
  • value contains the actual password.

Follow these steps to create a file-based credential store containing one password, with PasswordIdentifer as an identifier.

StepAction
1Create a new text file in the <PLATFORMDIR>\databases with the name credential_store.json.
2Open credential_store.json using a text editor.
3Enter the following information in the file:

{
"PasswordIdentifier": "s3cr3tp4ssw0rd"
}
4Save the file.
5Go to the Superadmin Settings tab.
6Add the following entry to the Server settings:

"CredentialStore": {
"Type" : "File"
}

The identifier PasswordIdentifier can now be used by developers and, when used, will result in the password s3cr3tp4ssw0rd.

Below is an example of a credential_store.json file for a credential store with multiple passwords.

{
      "passwordIdentifier": "secr3tp4ssw0rd"
    , "ldapServerPassword": "BBx^W2Vh(7!r_>!%"
    , "oracleDatabasePassword": "~5u4$8HtCE>3mXpV"
    , ...
}

Setting up an encrypted file-based credential store

暗号化されたファイルベースの資格情報ストアを作成できるようになりました。作成するには、[Server Settings]CredentialStore エントリで、TypeEncrypted に設定します。暗号化された資格情報ストアには、dataserver コマンド -AddEncryptedPassword を使用することでのみ、エントリを追加できます。

-dataserver -AddEncryptedPassword <key> <password>

Follow these steps to create an encrypted file-based credential store containing one password, with PasswordIdentifer as an identifier.

StepAction
1Go to the Superadmin Settings tab.
2Add the following entry to the Server settings:

"CredentialStore": {
"Type" : "Encrypted"
}
3Open a Windows command line prompt and go to the <PLATFORMDIR>\builds folder.
4Enter the following command:
processgold.bat -dataserver -AddEncryptedPassword PasswordIdentifier s3cr3tp4ssw0rd.

Added password entries cannot be removed.

📘

注:

The -AddEncryptedPassword command will overwrite existing password values without notification.

約 1 か月前に更新

資格情報ストアを設定する


改善の提案は、API リファレンスのページでは制限されています

改善を提案できるのは Markdown の本文コンテンツのみであり、API 仕様に行うことはできません。