Unable to Create new deposit address for BTC TEST

I am trying to create a new deposit address for BTC_TEST. However i keep getting a 401 error with the message “Request has not been applied because it lacks valid authentication credentials for the target resource”.

Please note that i am very sure i have my authentication parameters set up correctly because all the other APIs in the Postman collection works fine.

Hi @divee789

Alec from Fireblocks here. NCW api keys cannot be used to create new deposit addresses. Please use an editor or admin API user to create new deposit addresses.

Hello.
Alright, thanks for the reply.

However i cannot seem to access the secret key for my admin user, just the API key.

So i deleted all the users and tried to create a new API user with admin role.

However once i put in the username for the first User i am creating, i am immediately redirected to the general users page where i see that the user has been created but the secret key was not shown or given to me.

How do i create or access the secret key for an admin user please ?

@alec Still waiting for a reply here please

Hello @divee789 I am with Fireblocks Support, I will be showing you how the secret key is created.

The Fireblocks API uses an API key and a request signing process to provide a highly secure communication protocol. You will create both of these in this process and then store them in a secure location to be used for API user creation as well as running the API calls:

Run the following command line to generate an RSA 4096 private key (stored in fireblocks_secret.key) and CSR (stored in fireblocks.csr):

openssl req -new -newkey rsa:4096 -nodes -keyout fireblocks_secret.key -out fireblocks.csr -subj "/CN=My Fireblocks Certificate"

Make sure the CSR attached to the newly created user is part of the key pair that the privateKey belongs to as well.

See this quickstart guide on how this secret key is generated. Quickstart Guide

Please tag me as well if you have anyfurther questions.