Openstack Rocky - Keystone - Requesting a token scoped as a different project
Because yet again I found the documentation to be wrong on the Openstack site, here is what I have FINALLY managed to determine is the correct request to get a token issued to an admin user an another project. In my case i need this to create volume backups because the backup API does not allow you to project a project ID when creating a backup
1http://KeystoneIP:5000/v3/auth/tokens
2
3{
4"auth": {
5"scope": {
6"project": {
7"domain": {
8"name": "Default"
9},
10"name": "OtherProjectName"
11}
12},
13"identity": {
14"password": {
15"user": {
16"domain": {
17"name": "Default"
18},
19"password": "password",
20"name": "admin"
21}
22},
23"methods": [
24"password"
25]
26}
27}
28}