Generic import procedure
Use this procedure to import a file that contains one or more ION entities.
Importing entities
Import entities into the target environment from an import file.
Import handling of secret properties
During import, ION evaluates each secret property value and applies these rules:
| Value in import file | Import behavior |
|---|---|
| Plain-text credential | Imported and applied to the connection point. |
[PASSWORD] |
Skipped. The property is not imported. |
| Encrypted value | Skipped. The property is not imported. |
| Null or empty value | Skipped. The property is not imported. |
Non-secret properties are imported regardless of their value.
Exports created in earlier releases can contain encrypted credentials. During import, encrypted credentials are skipped and must be configured manually in the target environment.
Service Account value format for import
The Service Account file contains four values: Access Key, Secret Key, Description, and User Name.
The encrypted credentials no longer form part of the export.
During export, Service Account credentials are replaced with [PASSWORD] in the export file.
During import, placeholder and encrypted values are excluded. To import Service Account credentials, specify these values in the serviceAccount ConnectionPointProperties as plain-text values.
Use this format:
- The value consists of two lines:
- Line 1: Access Key, Secret Key, Description, User Name
- Line 2: values in double quotation marks, separated by commas
- In API JSON, line break is
\nand quotes are escaped as\".
Examples
Using import file in ION:
<ConnectionPointProperties>
<ConnectionPointProperty>
<Name>serviceAccount</Name>
<Value>Access Key, Secret Key, Description, User Name
"Access Key","Secret Key","Description","User Name"</Value>
<Required>true</Required>
<Encrypted>false</Encrypted>
</ConnectionPointProperty>
</ConnectionPointProperties>
Using ION API:
"connectionPointProperties": [
{
"name": "serviceAccount",
"value": "Access Key, Secret Key, Description, User Name\n\"Access Key\",\"Secret Key\",\"Description\",\"User Name\"",
"required": true,
"encrypted": false
}
]