Retrieve User ID
Depending on the Bucket Types access you want to share with the user, learn how to retrieve the required user ID.
Retrieve your user ID
For another user to share the content of their IONOS S3 Object Storage with you, they need your user ID, which you will find in the Object Storage Key Management section.
Prerequisite:
— Make sure you have the corresponding permissions to work with the Object Storage. If you are not the contract owner or administrator, you must be added to a group with Use Object Storage privilege.
— You must have generated the first Object Storage key using Generate a Key. Only upon generating the first key, the Canonical User ID of the user is displayed in the S3 Credentials and Users & Groups > Users > Object Storage Keys > S3 section.
1. In the DCD, go to Menu > Storage and click the IONOS S3 Object Storage.
2. Select the Key management tab.
3. In the S3 Credentials, click Copy against the user's ID as follows:
Copy the Contract User ID to grant access to contract-owned buckets.
Copy the Canonical User ID to grant access to user-owned buckets.
Result: Your user ID is successfully copied to the clipboard.
Retrieve the user ID of a grantee
The grantee is the user under the same contract at IONOS, but it also could be the user under another contract. You need the user ID to share access to the bucket or object using Share access methods.
Prerequisites:
— Make sure the grantee Object Storage account already exists. If not, then, begin creating the grantee by following the steps to Retrieve the user ID of a new user.
— Make sure you have the corresponding permission to work with the Object Storage. You must be added to a group with Use Object Storage privilege. Only contract owners and administrators can retrieve the IONOS S3 Object Storage IDs of their account users.
— Only upon generating the first object storage key, the Canonical User ID of the user is displayed in the Users & Groups > Users > Object Storage Keys > S3 section.
1. In the DCD, go to Menu > Management > Users & Groups.
2. Select the user from the Users list and click the Object Storage Keys tab.
3. Click the S3 link and retrieve the user's ID as follows:
Copy the Contract User ID to grant access to contract-owned buckets.
Copy the Canonical User ID to grant access to user-owned buckets.
Result: The user ID for the grantee is successfully retrieved.
Retrieve the user ID of a new user
If the grantee's user account does not already exist or you want to assign a different set of permissions, then the root user of the contract needs to create the user account and then retrieve the user ID to grant access to buckets and objects.
1. In the DCD, go to Menu > Management > Users & Groups.
2. In the Users tab, click + Create.
3. Enter the user details such as First Name, Last Name, Email, Password, and click Create.
Result: The new user is created and shown in the Users list.
4. Add the user to a group with Use Object Storage privilege enabled.
5. The user must log in to the DCD with their credentials and manually generate the Object Storage key by using Generate a Key.
Info: Only upon generating the first key, the Canonical User ID of the user is displayed in the S3 Credentials and Users & Groups > Users > Object Storage Keys > S3 section.
6. In the Users list, select the user and click the Object Storage Keys tab.
5. Select the Active checkbox to activate the Key.
6. Click the S3 link and retrieve the user's ID as follows:
Copy the Contract User ID to grant access to contract-owned buckets.
Copy the Canonical User ID to grant access to user-owned buckets.
Result: The new user is successfully created and the user ID is retrieved. You can now share access to the bucket with the new user using Share access.
Last updated