Setting up API User
Setting up API user for production
1 min
in production, there are two options to create the access public private key pair for the api user generate public private key pair for api user docid\ hnrnonh1ejdd75izmcvgr use aws kms to generate public private key pair of the api user setting up api user on aws after generating the key pair, enter the public key in primevault's ui when creating a new api user private key would be required to initialize the apiclient in sdk assign roles admin role assign this role if the api user needs to create new vaults the user will be automatically added to both existing and new vaults user role use this role for limited access add the api user manually to the appropriate vaults as needed activation once set up, the api user will be active and ready to use copy and save the api key as an environment variable, which is necessary for initializing the api client in your code note remove any api user that you added during testing phase