I’m trying to connect to Prometheus datasource, I’ve entered all the relevant details, but when I’m trying to connect, I get the following error :
{
“status”: 503,
“error”: {
“type”: “AwsCryptoException”,
“reason”: “There was internal problem at backend”,
“details”: “java.security.InvalidKeyException: Invalid AES key length: 4 bytes”
}
}
I’ve used the following script to generate the master key:
#!/bin/bash
#Generate a 24-character key
masterkey=$(openssl rand -hex 12)
echo “Master Key: $masterkey”
I used base64 instead of hex, no luck there as well. Can you please help me out.