Skip to content

[Update] IAM cross-account #7900

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 203 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
203 commits
Select commit Hold shift + click to select a range
200d0cf
adding cross-account informations
gbarideau May 22, 2025
e20de48
proofreaading
benchbzh May 27, 2025
e9e1411
corrections on translations
benchbzh May 28, 2025
9cfdf14
Merge branch 'develop' into dev/gbarideau/iam-cross-account
benchbzh May 28, 2025
c099a8e
Merge branch 'develop' into dev/gbarideau/iam-cross-account
Y0Coss Jun 17, 2025
8f9a733
first draft
Jun 27, 2025
04ab9f0
adding the meta and french files
Jun 27, 2025
26580a5
translating the tables in html to have merged cells
Jun 27, 2025
0c8d809
editing file name
Jun 27, 2025
d1b6630
Disclaimer test version
SlimJ4 Jun 27, 2025
a4ef4e1
FRFR starting done
Jul 1, 2025
b1fcb1a
FRFR done
Jul 1, 2025
af04379
FRFR done
Jul 1, 2025
4bdd6f1
Tech review done
Jul 1, 2025
4dbb3e1
Screen RGPD done
Jul 2, 2025
83d33fb
V1
Jul 2, 2025
6e91ba0
Update pages/web_cloud/web_hosting/diagnostic_request_blocked/guide.f…
Kazarus4 Jul 3, 2025
ed93ed1
Update pages/web_cloud/web_hosting/diagnostic_request_blocked/guide.f…
Kazarus4 Jul 3, 2025
fe5f7ac
Update pages/web_cloud/web_hosting/diagnostic_request_blocked/guide.f…
Kazarus4 Jul 3, 2025
1eae9a0
editing index
Jul 4, 2025
a83bd45
FR proof
benchbzh Jul 4, 2025
26b8b3d
Update pages/web_cloud/web_hosting/diagnostic_request_blocked/guide.f…
benchbzh Jul 4, 2025
a066341
v2
Jul 7, 2025
8077391
Update pages/web_cloud/web_hosting/diagnostic_request_blocked/guide.f…
Kazarus4 Jul 8, 2025
3e0aab0
Update pages/web_cloud/web_hosting/diagnostic_request_blocked/guide.f…
Kazarus4 Jul 8, 2025
8a99ad3
adding secnumcloud guide + proofread
Jul 8, 2025
426fdac
Guide fr first version
fabienOVH Jul 9, 2025
7f17888
minor update
fabienOVH Jul 9, 2025
3ece79d
guide update EN versions
Jessica41 Jul 9, 2025
55ab727
adding images file
Jul 10, 2025
0fdb570
editing dates
Jul 10, 2025
0a3de66
minor update
Jessica41 Jul 10, 2025
5dba132
FR duplicates and EN fixes
Jessica41 Jul 10, 2025
e8604b3
DE done
Jul 11, 2025
66a673a
EN done
Jul 11, 2025
72eb822
ES done
Jul 11, 2025
a624a94
PL done
Jul 11, 2025
1d2e1ff
PL done
Jul 11, 2025
9b6b31a
PT done
Jul 11, 2025
416f0a5
All translations are done
Jul 11, 2025
dab71a3
Merge branch 'develop' into KevS-SK2214-LLMCB-Hosting-Creation-Your-I…
Kazarus4 Jul 11, 2025
519380a
All translations are done
Jul 11, 2025
e333a94
fixes
Jessica41 Jul 11, 2025
b7e027f
EN proof
tcpdumpfbacke Jul 14, 2025
493db07
DE proof
tcpdumpfbacke Jul 14, 2025
d62020e
EN proof
Jul 14, 2025
d40c054
Duplication
Jul 14, 2025
d66c274
update on first primary for Zerto SNC - EN versions
benchbzh Jul 15, 2025
93515da
update on first primary for Zerto SNC - EN versions
benchbzh Jul 15, 2025
3cb746a
fixing objectives section for secnumcloud guide
Jul 15, 2025
a60052d
Update
fabienOVH Jul 15, 2025
a8bf061
Update pages/bare_metal_cloud/virtual_private_servers/eos-cpanel-ples…
fabienOVH Jul 15, 2025
56737ae
Update pages/public_cloud/public_cloud_network_services/getting-start…
Jessica41 Jul 15, 2025
db9d62a
Update pages/public_cloud/public_cloud_network_services/getting-start…
Jessica41 Jul 15, 2025
db90ce9
EN proof
tcpdumpfbacke Jul 16, 2025
8d49d65
Standard version : FR proof & updates EN versions for dead links
benchbzh Jul 16, 2025
3ff7cc5
DE proof
Jul 16, 2025
e3e1f18
DE proof
Jul 16, 2025
9e1fa6f
DE proof
Jul 16, 2025
528db29
EN proof
Jul 16, 2025
75cf108
Duplication
Jul 16, 2025
372f1f7
Merge branch 'develop' into dev/gbarideau/iam-cross-account
tcpdumpfbacke Jul 16, 2025
b9dfb89
Maroane review
Y0Coss Jul 16, 2025
a550fa7
NAS-HA - FAQ - Format improvement + Links improvements
Y0Coss Jul 16, 2025
ae88012
Merge pull request #8167 from ovh/YC-NAS-FAQ-style-improvement
Y0Coss Jul 16, 2025
d83e75d
Date update
Y0Coss Jul 16, 2025
6865d72
Merge pull request #8117 from ovh/KevS-SK2214-LLMCB-Hosting-Creation-…
Y0Coss Jul 16, 2025
32f45fd
udpating warning about dual sourcing
Jul 16, 2025
e0ea30d
changing VCD terms in every guides
Jul 16, 2025
75cd004
fixing typos
Jul 16, 2025
67aa2f1
SNC version : version : FR proof & updates EN versions for dead links
benchbzh Jul 16, 2025
26f25dd
Fixing missing spaces
Y0Coss Jul 16, 2025
76a3463
Additional fixes
Y0Coss Jul 16, 2025
ee6e916
Merge pull request #8168 from ovh/ds-vcd-publicvcf
Y0Coss Jul 16, 2025
7274e94
fixing typos
Jul 16, 2025
7b048cd
Index update - General Information category creation + translations
Y0Coss Jul 16, 2025
70495f9
Deleting unneeded duplicates + Date update
Y0Coss Jul 16, 2025
fdd7912
Additional fixes
Y0Coss Jul 17, 2025
befbfa0
Additional proofreading
Y0Coss Jul 17, 2025
ddeeca1
Applying suggested changes
Y0Coss Jul 17, 2025
928f537
Adding hidden flag
Y0Coss Jul 17, 2025
3ddfe33
Merge pull request #8094 from ovh/ds-nutanix-compatibility
Y0Coss Jul 17, 2025
4d8fc1f
Disclaimers Update
SlimJ4 Jul 17, 2025
702f4b6
feat(compute): update date for the horizon resize instance guide
OvhValentin Jul 17, 2025
ff8732c
Adding conditions feature on IAM policies documentation
gbarideau Jul 17, 2025
57e2c17
date update
gbarideau Jul 17, 2025
3526d40
proofreading section 4
Jul 17, 2025
0f59efe
minor updates on FR versions
benchbzh Jul 17, 2025
94b75fd
Merge pull request #8170 from ovh/feat-date-horizon-instanceresize
Y0Coss Jul 17, 2025
ac57187
Cosmetic update
SlimJ4 Jul 17, 2025
9f0de3c
feat(cross functional): update terraform guide getting started
OvhValentin Jul 17, 2025
41c64e4
Disclaimer improvement + old disclaimer removal
SlimJ4 Jul 17, 2025
b5dce55
Proofreading
Y0Coss Jul 17, 2025
108defd
Merge pull request #8171 from ovh/dev/gbarideau/iam-condition-api
Y0Coss Jul 17, 2025
3b06561
Merge pull request #8139 from ovh/ds-move2cloud-vmware-zerto
Y0Coss Jul 17, 2025
208a0d5
updating dates
Jul 17, 2025
09f56d3
updating french guide
Jul 17, 2025
9cfc380
update and duplications
Jessica41 Jul 17, 2025
e5b128c
Duplication & date update
Y0Coss Jul 17, 2025
0f113f4
Merge pull request #8152 from ovh/jf-floating-ip-horizon
Jessica41 Jul 17, 2025
a82860c
Merge pull request #8173 from ovh/ds-vmware-lifecylce-policy
Y0Coss Jul 18, 2025
9ac9d22
Fix global links in Storage and backup file storage
DoStupidThingsFasterWithMoreEnergy Jul 18, 2025
4038bd3
Fix global links in Storage and backup object storage
DoStupidThingsFasterWithMoreEnergy Jul 18, 2025
ae433d5
Fix global links in Public cloud ai machine learning
DoStupidThingsFasterWithMoreEnergy Jul 18, 2025
3fbdd64
Fix global links in Public cloud compute
DoStupidThingsFasterWithMoreEnergy Jul 18, 2025
e989ca7
Fix global links in Public cloud containers orchestration
DoStupidThingsFasterWithMoreEnergy Jul 18, 2025
cac2424
Fix global links in Public cloud integrations
DoStupidThingsFasterWithMoreEnergy Jul 18, 2025
f4f17be
Fix global links in Public cloud public cloud cross functional
DoStupidThingsFasterWithMoreEnergy Jul 18, 2025
ba99c78
Fix global links in Public cloud public cloud databases
DoStupidThingsFasterWithMoreEnergy Jul 18, 2025
e5a8219
Fix global links in Public cloud public cloud network services
DoStupidThingsFasterWithMoreEnergy Jul 18, 2025
586555e
Fix global links in Web cloud domains
DoStupidThingsFasterWithMoreEnergy Jul 18, 2025
359d4fd
Fix global links in Web cloud internet
DoStupidThingsFasterWithMoreEnergy Jul 18, 2025
4cc3a75
Fix global links in Web cloud messaging
DoStupidThingsFasterWithMoreEnergy Jul 18, 2025
623ef1d
Merge pull request #8180 from DoStupidThingsFasterWithMoreEnergy/Fix-…
Jessica41 Jul 18, 2025
5ba5586
Merge pull request #8182 from DoStupidThingsFasterWithMoreEnergy/Fix-…
Y0Coss Jul 18, 2025
d6ef068
Merge pull request #8183 from DoStupidThingsFasterWithMoreEnergy/Fix-…
Y0Coss Jul 18, 2025
3156176
Merge pull request #8188 from DoStupidThingsFasterWithMoreEnergy/Fix-…
Y0Coss Jul 18, 2025
9330496
Merge pull request #8189 from DoStupidThingsFasterWithMoreEnergy/Fix-…
Y0Coss Jul 18, 2025
6e33298
Merge pull request #8190 from DoStupidThingsFasterWithMoreEnergy/Fix-…
Y0Coss Jul 18, 2025
c10ecd3
Merge pull request #8184 from DoStupidThingsFasterWithMoreEnergy/Fix-…
Y0Coss Jul 18, 2025
34f93f8
Merge pull request #8186 from DoStupidThingsFasterWithMoreEnergy/Fix-…
Y0Coss Jul 18, 2025
3d90f27
PR following Fix global links in Storage and backup file storage 8179
benchbzh Jul 18, 2025
ab5802f
Last review for NAS-HA links
benchbzh Jul 18, 2025
7e93f40
Merge pull request #8191 from ovh/BenCh_global_links8179
benchbzh Jul 18, 2025
22e5067
Update guide.de-de.md
Jessica41 Jul 18, 2025
3c3cad0
Merge pull request #8185 from DoStupidThingsFasterWithMoreEnergy/Fix-…
Jessica41 Jul 18, 2025
0e974d6
minor guide update
Jessica41 Jul 18, 2025
c3a0924
Email - Creating missing fr-ca file + fixing EN
Y0Coss Jul 21, 2025
6182f44
Reversibility - Fixing link
Y0Coss Jul 21, 2025
43a85b5
Emails redirections - Updating guides for countries with no Exchange
Y0Coss Jul 21, 2025
80bbab3
Disclaimers update + FR translation
SlimJ4 Jul 21, 2025
45d4c8e
en-gb version + index
fabienOVH Jul 21, 2025
1880526
Merge branch 'FB-EOS-plesk-cpanel' of github.com:ovh/docs into FB-EOS…
fabienOVH Jul 21, 2025
cbcb1dd
Adapting links for email guides
Y0Coss Jul 21, 2025
040fa24
Merge pull request #8193 from ovh/YC-Fixes-20250718
Y0Coss Jul 21, 2025
8d6b7a5
Merge pull request #8178 from DoStupidThingsFasterWithMoreEnergy/Fix-…
tcpdumpfbacke Jul 21, 2025
f7e79e5
Merge pull request #8181 from DoStupidThingsFasterWithMoreEnergy/Fix-…
tcpdumpfbacke Jul 21, 2025
fa0b11f
FR internet add warning on brovi lte key
AxelDum Jul 21, 2025
bc18231
minor update
Jessica41 Jul 21, 2025
b5a81fe
minor update
Jessica41 Jul 21, 2025
1d3a260
minor update
Jessica41 Jul 21, 2025
3865259
Update pages/web_cloud/internet/internet_access/comment_activer_backu…
Y0Coss Jul 21, 2025
50ba26a
Merge pull request #8194 from ovh/dev/adumorti/addWarnOnLTE
Y0Coss Jul 21, 2025
f303255
Date update before production
Y0Coss Jul 21, 2025
bcdc56f
Merge pull request #8195 from ovh/feat-update-terraform-guide
Y0Coss Jul 21, 2025
0d7dfd8
DE proof
tcpdumpfbacke Jul 21, 2025
d5dc9d3
minor updates
Jessica41 Jul 21, 2025
ac87e76
minor updates
Jessica41 Jul 21, 2025
5876a9a
Merge pull request #8196 from ovh/jf-feedback-updates
Jessica41 Jul 21, 2025
ad0957e
feat(LDP): IAM documentations
jehuty0shift Jul 17, 2025
f86d1a8
proofreading FR-EN & translations
benchbzh Jul 21, 2025
521d8d6
remove spaces in the header after --- for DE IT PL PT versions
benchbzh Jul 21, 2025
5a45a7a
duplos and fixes
Jessica41 Jul 21, 2025
fe6bf14
duplos and fixes
Jessica41 Jul 21, 2025
99b6712
Merge branch 'develop' into sa-additional-ipv6-batch-1
Jessica41 Jul 21, 2025
9ff433e
FileZilla for Web Hosting - Emphasizing info about Net2FTP disabling
Y0Coss Jul 22, 2025
4510a7e
Deleting unneeded es-us guide
Y0Coss Jul 22, 2025
fcbcce6
Merge pull request #8198 from ovh/YC-Fixes-Improvements-20250721
Y0Coss Jul 22, 2025
4795ae6
delete line 135 in the index for Dedicated Servers as they are not me…
benchbzh Jul 22, 2025
e145405
Proofreading
Y0Coss Jul 22, 2025
a0f6e3b
Missing formats
Y0Coss Jul 22, 2025
f3ba9ee
Merge pull request #8197 from ovh/feature/LDP/iam
Y0Coss Jul 22, 2025
578c60c
DE proof
tcpdumpfbacke Jul 22, 2025
15b15b3
DE proof
tcpdumpfbacke Jul 22, 2025
dfd4f05
LDP - IAM fixes
Y0Coss Jul 22, 2025
72e6edd
Merge pull request #8199 from ovh/YC-fixes-20250722
Y0Coss Jul 22, 2025
92510de
DE proof
tcpdumpfbacke Jul 22, 2025
30a81d5
DE proof
tcpdumpfbacke Jul 22, 2025
175679a
DE proof
tcpdumpfbacke Jul 22, 2025
a46d0f4
DE proof
tcpdumpfbacke Jul 22, 2025
b97eb9b
FR internet edit profile name
AxelDum Jul 22, 2025
a7c97a1
DE proof
tcpdumpfbacke Jul 22, 2025
7da7d4a
DE proof
tcpdumpfbacke Jul 22, 2025
ec7502c
update meta.yaml & minor updates on first primary
benchbzh Jul 22, 2025
dad539d
update meta.yaml & minor updates on first primary & date update
benchbzh Jul 22, 2025
aea04a8
Date update & minor adjustments
Y0Coss Jul 22, 2025
e404414
Minor adjustments
Y0Coss Jul 22, 2025
a7d8f1d
Merge pull request #8192 from ovh/sa-additional-ipv6-batch-1
Y0Coss Jul 22, 2025
e86accd
Merge pull request #8144 from ovh/FB-EOS-plesk-cpanel
Y0Coss Jul 22, 2025
fa7a2d9
Billing - FR Public Admin process - Contact update
Y0Coss Jul 22, 2025
58b7696
proofreading
benchbzh Jul 22, 2025
2856854
Merge pull request #8200 from ovh/dev/adumorti/checkProfile
benchbzh Jul 22, 2025
65dcc64
Merge pull request #8201 from ovh/YC-SK2224-Chorus
Y0Coss Jul 22, 2025
57e3b8d
LDP - IAM - Images and format fix
Y0Coss Jul 22, 2025
802f2fa
Merge pull request #8202 from ovh/YC-LDP-images-fix-20250722
Y0Coss Jul 22, 2025
cc700e0
VPS-EOS-CPANEL-PLESK_format_fixes
benchbzh Jul 22, 2025
a7a41ce
Add weblink
Jul 22, 2025
2bef5b2
RM EOL OS mentions
Jul 22, 2025
80c605b
Fixes
Jul 22, 2025
639ab35
RM EOL OS mentions
Jul 22, 2025
8c11bb7
minor update DE version
benchbzh Jul 22, 2025
6765bff
Merge pull request #8203 from ovh/BenCh-EOS_cPanel_Plesk_VPS
benchbzh Jul 22, 2025
d1765f8
Merge pull request #8206 from ovh/BoS_vps-updates25_2
tcpdumpfbacke Jul 22, 2025
9a84731
adding cross-account informations
gbarideau May 22, 2025
3a3dcca
proofreaading
benchbzh May 27, 2025
e4f93bd
corrections on translations
benchbzh May 28, 2025
d193b56
EN proof
tcpdumpfbacke Jul 16, 2025
dc9639d
DE proof
Jul 16, 2025
62e2455
DE proof
Jul 16, 2025
2af9ad7
DE proof
Jul 16, 2025
94b9886
EN proof
Jul 16, 2025
4c0cc95
Duplication
Jul 16, 2025
8ca6de5
Merge branch 'dev/gbarideau/iam-cross-account' of https://github.com/…
gbarideau Jul 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
16 changes: 16 additions & 0 deletions links/bare-metal/vps-lz
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- [de-de](https://www.ovhcloud.com/de/vps/vps-lz/)
- [en-asia](https://www.ovhcloud.com/asia/vps/vps-lz/)
- [en-au](https://www.ovhcloud.com/en-au/vps/vps-lz/)
- [en-ca](https://www.ovhcloud.com/en-ca/vps/vps-lz/)
- [en-gb](https://www.ovhcloud.com/en-gb/vps/vps-lz/)
- [en-ie](https://www.ovhcloud.com/en-ie/vps/vps-lz/)
- [en-in](https://www.ovhcloud.com/en-in/vps/vps-lz/)
- [en-sg](https://www.ovhcloud.com/en-sg/vps/vps-lz/)
- [en-us](https://www.ovhcloud.com/en/vps/vps-lz/)
- [es-es](https://www.ovhcloud.com/es-es/vps/vps-lz/)
- [es-us](https://www.ovhcloud.com/es/vps/vps-lz/)
- [fr-ca](https://www.ovhcloud.com/fr-ca/vps/vps-lz/)
- [fr-fr](https://www.ovhcloud.com/fr/vps/vps-lz/)
- [it-it](https://www.ovhcloud.com/it/vps/vps-lz/)
- [pl-pl](https://www.ovhcloud.com/pl/vps/vps-lz/)
- [pt-pt](https://www.ovhcloud.com/pt/vps/vps-lz/)
1 change: 1 addition & 0 deletions links/web/email-pro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
- [en-gb](https://www.ovhcloud.com/en-gb/emails/email-pro/)
- [en-ie](https://www.ovhcloud.com/en-ie/emails/email-pro/)
- [es-es](https://www.ovhcloud.com/es-es/emails/email-pro/)
- [es-us](https://www.ovhcloud.com/es/emails/)
- [fr-fr](https://www.ovhcloud.com/fr/emails/email-pro/)
- [it-it](https://www.ovhcloud.com/it/emails/email-pro/)
- [pl-pl](https://www.ovhcloud.com/pl/emails/email-pro/)
Expand Down
1 change: 1 addition & 0 deletions links/web/emails
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- [en-ca](https://www.ovhcloud.com/en-ca/emails/)
- [en-gb](https://www.ovhcloud.com/en-gb/emails/)
- [en-ie](https://www.ovhcloud.com/en-ie/emails/)
- [en-in](https://www.ovhcloud.com/en-in/web-cloud/)
- [en-sg](https://www.ovhcloud.com/en-sg/emails/)
- [en-us](https://www.ovhcloud.com/en/emails/)
- [es-es](https://www.ovhcloud.com/es-es/emails/)
Expand Down
1 change: 1 addition & 0 deletions links/web/emails-hosted-exchange
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- [en-ca](https://www.ovhcloud.com/en-ca/emails/hosted-exchange/)
- [en-gb](https://www.ovhcloud.com/en-gb/emails/hosted-exchange/)
- [en-ie](https://www.ovhcloud.com/en-ie/emails/hosted-exchange/)
- [en-in](https://www.ovhcloud.com/en-in/web-cloud/)
- [en-sg](https://www.ovhcloud.com/en-sg/emails/hosted-exchange/)
- [en-us](https://www.ovhcloud.com/en/emails/hosted-exchange/)
- [es-es](https://www.ovhcloud.com/es-es/emails/hosted-exchange/)
Expand Down
1 change: 1 addition & 0 deletions links/web/ms365
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
- [en-gb](https://www.ovhcloud.com/en-gb/collaborative-tools/microsoft-365/)
- [en-ie](https://www.ovhcloud.com/en-ie/collaborative-tools/microsoft-365/)
- [es-es](https://www.ovhcloud.com/es-es/collaborative-tools/microsoft-365/)
- [es-us](https://www.ovhcloud.com/es/)
- [fr-fr](https://www.ovhcloud.com/fr/collaborative-tools/microsoft-365/)
- [it-it](https://www.ovhcloud.com/it/collaborative-tools/microsoft-365/)
- [pl-pl](https://www.ovhcloud.com/pl/collaborative-tools/microsoft-365/)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Verwendung von IAM-Richtlinien mit der OVHcloud API (EN)
excerpt: "Find out how to give specific access rights to users from an OVHcloud account"
updated: 2024-08-21
updated: 2025-08-18
---

## Objective
Expand Down Expand Up @@ -126,6 +126,7 @@ The URNs and actions can end with a `*` wildcard character. This allows referrin
- **deny**: Array of actions explicitely denied for the identities regarding the resources. A denied action will be prevent no matter what others policies could allow
- **except**: Extension of the **allow** parameter. Array of actions not to allow even though they are included in the **allow** actions. For instance, this is useful when there is a wildcard allow action but it is necessary to exclude a specific action that otherwise would be included in the wildcard. Contrary to **deny**, **except** is limited to the current policy scope.
- **permissionsGroups**: List of [permissions groups](/pages/account_and_service_management/account_information/iam-permission-groups) applied to this policy.
- **conditions**: List conditions applied to the policy
- **expiredAt**: Date after which the policy will be disabled.
- **createdAt**: Creation date of the policy.
- **updateAt**: Last update date of the policy.
Expand Down Expand Up @@ -288,6 +289,84 @@ Check it via `GET /iam/policy`:

The policies have been created successfully. Now, "***user1***" can **carry out reboots and create snapshots** on the VPS "***urn:v1:eu:resource:vps:vps-5b48d78b.vps.ovh.net***". "***user2***" can **execute any vps action except for the deletion of snapshots** on the VPS "***urn:v1:eu:resource:vps:vps-5b48d78b.vps.ovh.net***".

#### Conditions

It is possible to add conditions to policies. The policy will only be valid if the conditions are met.
Conditions are added to an access policy in the following form:

```json
{
"operator": "AND",
"conditions": [
{
"operator": "MATCH",
"values": {
"resource.Tag(environment)": "prod",
"resource.Type": "dnsZone"
}
},
{
"operator": "NOT",
"conditions": [
{
"operator": "MATCH",
"values": {
"date(Europe/Paris).WeekDay.IN": "Saturday,Sunday"
}
}
]
}
]
}
```

For example, a policy with this condition is valid if the targeted resources are of type **dnsZone** with the tag **"environment:prod"**, except on **Saturday and Sunday** in the Paris time zone.

The operator field specifies how the conditions will be evaluated:

- **AND**: All conditions must be validated
- **NOT**: None of the conditions must be validated
- **OR**: At least one condition must be validated
- **MATCH**: Condition evaluation operator

The available conditions are:

| Condition | Operator | Data Type | Description | Example |
| :--------------------: | :--------------------------------------------------------: | :--------: | :--------------------------------: | :-----------------------------------------: |
| date(location).Date | EQ <br>BEFORE <br>AFTER <br>IN | YYYY-MM-DD | Filter on calendar days | "date.Date(America/New_York)": "2024-12-25" |
| date(location).Hour | EQ <br>BEFORE <br>AFTER <br>GE <br>LE <br>GT <br>LT <br>IN | int | Filter on hours | "date(Europe/Paris).Hour.IN" : "7,8,9" |
| date(location).WeekDay | EQ <br>BEFORE <br>AFTER <br>GE <br>LE <br>GT <br>LT <br>IN | string | Filter on days of the week | "date(Europe/Berlin).WeekDay.AFTER": "monday" |
| resource.Tag(tag_key) | EQ <br>STARTS_WITH <br>ENDS_WITH | string | Filter on tags | "resource.Tag(environment): "dev" |
| resource.Name | EQ <br>IN <br>STARTS_WITH <br>ENDS_WITH | string | Filter on resource names | "resource.Name.Start_with": "vps-" |
| resource.Type | EQ <br>IN <br>STARTS_WITH <br>ENDS_WITH | string | Filter on resource types | "resource.Type.In": "dnsZone,vps" |
| request.IP | EQ <br>IN <br>IN_RANGE | IP v4 | Filter on client source IP | "request.IP.IN_RANGE": "10.23.0.0/16" |

Dates use time zones based on [IANA database names](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If not specified, the date will be evaluated in UTC time zone.

The available operators for condition types are:

- **EQ**: The value must exactly match the specified value
- **BEFORE** or **LT** (less than): The value must be strictly less than
- **AFTER** or **GE** (greater or equal): The value must be equal to or greater than
- **GT** (greater than): The value must be strictly greater than
- **LE** (less or equal): The value must be equal to or less than
- **IN**: The value must be included in the list
- **START_WITH**: The value must start with the specified value
- **END_WITH**: The value must end with the specified value
- **IN_RANGE**: The value must be in the specified IP subnet

If not specified, the default operator is **EQ**.

#### Policies targeting other OVHcloud customer accounts

Access policies can target other OVHcloud customer accounts.
The targeted account of this policy will be able to manage the rights received that way on its own policies, but will never be able to override the rights set on the access policy.

For example, an account **xx1111-ovh** gives rights on `vps:apiovh:ips/*` to account **xx2222-ovh**:
Account **xx2222-ovh** will be able to give the right `vps:apiovh:ips/delete` to its own users, but will never be able to grant the right `vps:apiovh:reboot`.

Access to the support will still be reserved to the owner of the resource.

### Identities

Policies apply to users, which can be accounts, users or user groups.
Expand Down Expand Up @@ -654,4 +733,4 @@ Here is a part of the output:

## Go further

Join our [community of users](/links/community).
Join our [community of users](/links/community).
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: How to use IAM policies using the OVHcloud API
excerpt: "Find out how to give specific access rights to users from an OVHcloud account"
updated: 2024-08-21
updated: 2025-08-18
---

## Objective
Expand Down Expand Up @@ -42,7 +42,7 @@ Resources, resource groups and actions needed to create a policy will be describ

#### API definition

<https://ca.api.ovh.com/console-preview/?section=%2Fiam&branch=v2#get-/iam/policy>
<https://api.ovh.com/console-preview/?section=%2Fiam&branch=v2#get-/iam/policy>

|**Method**|**Path**|**Description**|
| :-: | :-: | :-: |
Expand Down Expand Up @@ -126,6 +126,7 @@ The URNs and actions can end with a `*` wildcard character. This allows referrin
- **deny**: Array of actions explicitely denied for the identities regarding the resources. A denied action will be prevent no matter what others policies could allow
- **except**: Extension of the **allow** parameter. Array of actions not to allow even though they are included in the **allow** actions. For instance, this is useful when there is a wildcard allow action but it is necessary to exclude a specific action that otherwise would be included in the wildcard. Contrary to **deny**, **except** is limited to the current policy scope.
- **permissionsGroups**: List of [permissions groups](/pages/account_and_service_management/account_information/iam-permission-groups) applied to this policy.
- **conditions**: List conditions applied to the policy
- **expiredAt**: Date after which the policy will be disabled.
- **createdAt**: Creation date of the policy.
- **updateAt**: Last update date of the policy.
Expand Down Expand Up @@ -288,6 +289,84 @@ Check it via `GET /iam/policy`:

The policies have been created successfully. Now, "***user1***" can **carry out reboots and create snapshots** on the VPS "***urn:v1:eu:resource:vps:vps-5b48d78b.vps.ovh.net***". "***user2***" can **execute any vps action except for the deletion of snapshots** on the VPS "***urn:v1:eu:resource:vps:vps-5b48d78b.vps.ovh.net***".

#### Conditions

It is possible to add conditions to policies. The policy will only be valid if the conditions are met.
Conditions are added to an access policy in the following form:

```json
{
"operator": "AND",
"conditions": [
{
"operator": "MATCH",
"values": {
"resource.Tag(environment)": "prod",
"resource.Type": "dnsZone"
}
},
{
"operator": "NOT",
"conditions": [
{
"operator": "MATCH",
"values": {
"date(Europe/Paris).WeekDay.IN": "Saturday,Sunday"
}
}
]
}
]
}
```

For example, a policy with this condition is valid if the targeted resources are of type **dnsZone** with the tag **"environment:prod"**, except on **Saturday and Sunday** in the Paris time zone.

The operator field specifies how the conditions will be evaluated:

- **AND**: All conditions must be validated
- **NOT**: None of the conditions must be validated
- **OR**: At least one condition must be validated
- **MATCH**: Condition evaluation operator

The available conditions are:

| Condition | Operator | Data Type | Description | Example |
| :--------------------: | :--------------------------------------------------------: | :--------: | :--------------------------------: | :-----------------------------------------: |
| date(location).Date | EQ <br>BEFORE <br>AFTER <br>IN | YYYY-MM-DD | Filter on calendar days | "date.Date(America/New_York)": "2024-12-25" |
| date(location).Hour | EQ <br>BEFORE <br>AFTER <br>GE <br>LE <br>GT <br>LT <br>IN | int | Filter on hours | "date(Europe/Paris).Hour.IN" : "7,8,9" |
| date(location).WeekDay | EQ <br>BEFORE <br>AFTER <br>GE <br>LE <br>GT <br>LT <br>IN | string | Filter on days of the week | "date(Europe/Berlin).WeekDay.AFTER": "monday" |
| resource.Tag(tag_key) | EQ <br>STARTS_WITH <br>ENDS_WITH | string | Filter on tags | "resource.Tag(environment): "dev" |
| resource.Name | EQ <br>IN <br>STARTS_WITH <br>ENDS_WITH | string | Filter on resource names | "resource.Name.Start_with": "vps-" |
| resource.Type | EQ <br>IN <br>STARTS_WITH <br>ENDS_WITH | string | Filter on resource types | "resource.Type.In": "dnsZone,vps" |
| request.IP | EQ <br>IN <br>IN_RANGE | IP v4 | Filter on client source IP | "request.IP.IN_RANGE": "10.23.0.0/16" |

Dates use time zones based on [IANA database names](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If not specified, the date will be evaluated in UTC time zone.

The available operators for condition types are:

- **EQ**: The value must exactly match the specified value
- **BEFORE** or **LT** (less than): The value must be strictly less than
- **AFTER** or **GE** (greater or equal): The value must be equal to or greater than
- **GT** (greater than): The value must be strictly greater than
- **LE** (less or equal): The value must be equal to or less than
- **IN**: The value must be included in the list
- **START_WITH**: The value must start with the specified value
- **END_WITH**: The value must end with the specified value
- **IN_RANGE**: The value must be in the specified IP subnet

If not specified, the default operator is **EQ**.

#### Policies targeting other OVHcloud customer accounts

Access policies can target other OVHcloud customer accounts.
The targeted account of this policy will be able to manage the rights received that way on its own policies, but will never be able to override the rights set on the access policy.

For example, an account **xx1111-ovh** gives rights on `vps:apiovh:ips/*` to account **xx2222-ovh**:
Account **xx2222-ovh** will be able to give the right `vps:apiovh:ips/delete` to its own users, but will never be able to grant the right `vps:apiovh:reboot`.

Access to the support will still be reserved to the owner of the resource.

### Identities

Policies apply to users, which can be accounts, users or user groups.
Expand All @@ -296,7 +375,7 @@ This section describes how to retrieve or create user for the policy.

#### API definition

<https://ca.api.ovh.com/console-preview/?section=%2Fme&branch=v1#overview>
<https://api.ovh.com/console-preview/?section=%2Fme&branch=v1#overview>

|**Method**|**Path**|**Description**|
| :-: | :-: | :-: |
Expand Down Expand Up @@ -383,7 +462,7 @@ This section describes how to retrieve resources information to use in a policy.

#### API definition

<https://ca.api.ovh.com/console-preview/?section=%2Fiam&branch=v2#get-/iam/resource>
<https://api.ovh.com/console-preview/?section=%2Fiam&branch=v2#get-/iam/resource>

|**Method**|**Path**|**Description**|
| :-: | :-: | :-: |
Expand Down Expand Up @@ -442,7 +521,7 @@ To ease the policy management for a large number of resources, it is possible to

#### API definition

<https://ca.api.ovh.com/console-preview/?section=%2Fiam&branch=v2#get-/iam/resourceGroup>
<https://api.ovh.com/console-preview/?section=%2Fiam&branch=v2#get-/iam/resourceGroup>

|**Method**|**Path**|**Description**|
| :-: | :-: | :-: |
Expand Down Expand Up @@ -535,7 +614,7 @@ These actions are specific to every product, such as rebooting a database server

#### API definition

<https://ca.api.ovh.com/console-preview/?section=%2Fiam&branch=v2#get-/iam/reference/action>
<https://api.ovh.com/console-preview/?section=%2Fiam&branch=v2#get-/iam/reference/action>

|**Method**|**Path**|**Description**|
| :-: | :-: | :-: |
Expand Down Expand Up @@ -654,4 +733,4 @@ Here is a part of the output:

## Go further

Join our [community of users](/links/community).
Join our [community of users](/links/community).
Loading