Setting up API User
Setting up API user for production
1 min
step by step instructions generate public private key pair you have two secure options use this guide ( docid\ hnrnonh1ejdd75izmcvgr ) to manually generate the key pair use aws key management service (kms) to generate and manage your key pair read more here docid\ zbhoiwnywhcliz4kuojny register your public key enter your public key in the primevault ui when creating the api user the private key should remain securely stored in your environment and is required to initialize the api client in your code assign roles admin assign if user needs to create vaults will have access to all existing and future vaults user assign for limited or specific vault access manually add user to target vaults as needed read more about roles here docid\ dngz61pdgzq7axq0opi u activate and save api key upon creation, the api user will be marked active copy and save the api key as an environment variable you’ll need it to initialize the sdk/api client production security remove/deactivate any api users used only during testing