How to change permission of anonymous pipe?

I’ve the script which loads the SSH key from the variable (as part of script in CI environment) in order to not keep the private file in the public repository, however ssh-add complains about the wrong permissions (and it seems it’s not possible to bypass it). So my approach is to find the method of changing the permission of anonymous pipe which is created on the fly.