Appearance
Registrar Configuration
The Universal Registrar supports various configuration settings that can be configured per account.
Configuration Setting: universalRegistrarConfig
This profile setting controls the configuration of the Universal Registrar.
Get Value
The following request will get the universalRegistrarConfig configuration setting.
bash
curl -X GET "https://profile.godiddy.com/1.0.0/profile/metadata/universalRegistrarConfig" \
-H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0"1
2
2
Set Value
The following request will set the universalRegistrarConfig configuration setting.
bash
curl -X PUT "https://profile.godiddy.com/1.0.0/profile/metadata/universalRegistrarConfig" \
-H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-H "Content-Type: application/json" \
-d '{
"kmsConfig": {
"kms": "hashicorp_vault",
"vaultEndpoint": "http://localhost:8200",
"vaultToken": "hvs.CvmS4c0DPTvHv5eJgXWMJg9r"
}
}'1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
Supported Fields
The following fields are supported in the universalRegistrarConfig configuration setting, which are used for External Secret Mode:
| Field | Possible Values |
|---|---|
kms | wallet_service, hashicorp_vault, local |
walletServiceBase | A base URL of a Wallet Service, e.g. http://wallet-service:12080/wallet-service/1.0.0 |
vaultEndpoint | A URL of a Hashicorp Vault endpoint, e.g. https://some.examplehost.com:8200 |
vaultToken | A token of a Hashicorp Vault instance, e.g. hvs.CvmS4c0DPTvHv5eJgXWMJg9r |
Configuration Setting: universalRegistrarConfigProfiles
Using this setting, configuration profiles of the universalRegistrarConfig configuration setting can be defined, which can then be invoked in API calls to the Universal Registrar.
Get Value
The following request will get the universalRegistrarConfigProfiles configuration setting.
bash
curl -X GET "https://profile.godiddy.com/1.0.0/profile/metadata/universalRegistrarConfigProfiles" \
-H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0"1
2
2
Set Value
The following request will set the universalRegistrarConfigProfiles configuration setting.
bash
curl -X PUT "https://profile.godiddy.com/1.0.0/profile/metadata/universalRegistrarConfigProfiles" \
-H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-H "Content-Type: application/json" \
-d '{
"mylocalvault": {
"kms": "hashicorp_vault",
"vaultEndpoint": "http://localhost:8200",
"vaultToken": "hvs.CvmS4c0DPTvHv5eJgXWMJg9r"
},
"othervault": {
"kms": "hashicorp_vault",
"vaultEndpoint": "https://some.examplehost.com:8200",
"vaultToken": "hvs.Ei9Ot6APh8bai6Ieleepeiqu"
}
}'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
With configProfile parameter
A request for a DID URL with this parameter will apply the configuration settings of the selected configuration profile:
bash
curl -X POST "https://api.godiddy.com/1.0.0/universal-registrar/create?method=indy&configProfile=myvault" \
-H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0"1
2
2