I have the following scenario :
- I have an Opensearch domain A in AWS account A
- I have another Opensearch domain B in AWS account B
- I would like to take a snapshot in domain A and then restore it in domain B. When I do that, I have the following error :
{
"body": "Snapshot restore failed: {
"error": {
"root_cause": [
{
"type": "security_exception",
"reason": "no permissions for [] and User [name=<my_user>, backend_roles=[], requestedTenant=null]"
}
],
"type": "security_exception",
"reason": "no permissions for [] and User [name=<my_user>, backend_roles=[], requestedTenant=null]"
},
"status": 403
}"
}
I have gone through a lot of examples and would like to add that I only take snapshot of a specific indexes and not indexes such as the .opendistro_security index.
My user has also the manage_snapshots permissions so he is able to do any action related to snapshots.
Regards