I really want to setup JWT authentication for my Elastic Cloud instance so that one of my applications, which gets a jwt token assigned, can use that token to log data to Elastic.
And I used the example from the documentation:
xpack.security.authc.realms.jwt.jwt1:
order: 3
token_type: id_token
client_authentication.type: shared_secret
allowed_issuer: "https://issuer.example.com/jwt/"
allowed_audiences: [ "8fb85eba-979c-496c-8ae2-a57fde3f12d0" ]
allowed_signature_algorithms: [RS256,HS256]
pkc_jwkset_path: jwt/jwkset.json
claims.principal: sub
But when I try to redeploy I always get the following error: Some instances were unable to start properly
And I really dont know why. If anyone could provide some help I would be very thankful.