How to give temporary access
When one person needs one extra permission for a limited time, use a direct grant instead of putting them in a group. Grants always expire, which is what keeps temporary access from quietly becoming permanent.
Prerequisites
iam:grant:createto create,iam:grant:renewto extend,iam:grant:revoketo cancel.- You can only grant a permission you hold yourself, at the target you are granting on.
Create a grant
- Open IAM and go to the Grants tab.
- Click Create grant.
- Pick the user and the permission.
- Choose the scope and, for customer or VDC, the target.
- Set the expiry date. It is mandatory and must be in the future.
- Write the reason and confirm.
The permission applies on the user's next token refresh, within about five minutes.
Extend a grant
If the work is not finished, renew it rather than creating a second grant:
- Find the grant in the Grants tab.
- Choose Renew and pick the new expiry date.
The new date has to be later than the current one. Renewing to an earlier or equal date is refused — to shorten access, revoke and create it again.
Revoke a grant
Choose Revoke on the grant. It stops counting immediately, and the record stays visible for auditing. A grant that is already revoked cannot be revoked again.
Notes
- Grants expire on their own. There is no need to clean them up afterwards.
- If several people need the same exception, that is a group, not a set of grants. Grants scattered across users are what makes access impossible to review later.
- The Permissions tab on a user shows grants merged with group permissions, and marks which is which.