Fiona-todo: update http collector to add a link to this page
This page is for ...
Overview
HTTP collectors DEV-10937:
- HTTP Datasources → Properties → Secret Key Details
- Datasource instances → Username/Password or Username Key/Password Key
- HTTP Headers Properties → Basic Settings → Value
- HTTP collectors → URL expression or Statement Expression
sometimes need to provide authentication to an external site. In order to provide a username and/or password securely, you can use a public alias or key to point to an encrypted username/password. This is usually in a secure tool such as a keystore.
Configure
- a secret key, which defines the public name and points to
- a local secret. This is a PhixFlow item that stores encrypted data in the PhixFlow database.
In order to provide a password securely:
- Create a local secret that contains the password
- Create a secret key that "points to" the local secret
- In the HTTP collector expression, specify the
public alias. - secret key name.
When you run analysis
PhixFlow then finds the secure credentials in the keystore and provides them to authenticate to the external site.
Insert excerpt |
---|
| _property_toolbar |
---|
| _property_toolbar |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _property_tabs |
---|
| _property_tabs |
---|
name | basic-h |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _parent |
---|
| _parent |
---|
nopanel | true |
---|
|
Local Secret
Field | Description |
---|
Key | Read only. This key will match the key of the Secret Key. |
Secret | The secret value that will be available in expressions where the Secret Key name is used. |
Basic Settings
Field | Description |
---|
Name | Enter a name. You will use this name in expressions to refer to this key. |
Key | Read only. PhixFlow generates a unique key value used to refer to the secret. |
Enabled | Insert excerpt |
---|
| _check_box_tick |
---|
| _check_box_tick |
---|
nopanel | true |
---|
| to indicate you have completed the properties and the secret key is ready to use. If ticked there will be a secret value corresponding to this key, which may be null. Insert excerpt |
---|
| _check_box_untick |
---|
| _check_box_untick |
---|
nopanel | true |
---|
| means a reference to this secret key in an expression will fail.
|
Secret | Read only. When the secret key has been saved, the secret can be edited. |
Local Secret
Field | Description |
---|
Key | Read only. This key will match the key of the Secret Key. |
Secret | The secret value that will be available in expressions where the Secret Key name is used. |