> For the complete documentation index, see [llms.txt](https://academy.cegedim.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.cegedim.cloud/francais/stockage/stockage-objet/stockage-objet-didacticiels/gerer-des-objects-users.md).

# Gérer des Objects Users

Les **Object users** sont des utilisateurs pouvant effectuer des opérations sur le service de Stockage Objet de cegedim.cloud, en utilisant l'**API S3**.

Un **Object user** est représenté par :

* une **access key**
* une **secret key**

{% hint style="info" %}
Lorsque vous créez un **Object Store**, un **Object User** est automatiquement créé, avec le label "**Inital S3 user**".
{% endhint %}

## Créer un Object User

Dans la page détaillée de votre **Object Store**, cliquez sur le bouton "**Add User**".

<figure><img src="https://docs.cegedim.cloud/download/attachments/102140875/image2022-11-10_16-23-32.png?version=1&#x26;modificationDate=1668093813019&#x26;api=v2&#x26;effects=drop-shadow" alt=""><figcaption></figcaption></figure>

Saisissez un "**Label**" pour identifier facilement ce nouvel **Object User**, puis cliquez sur le bouton "**Submit**" :

<figure><img src="https://docs.cegedim.cloud/download/attachments/102140875/image2022-11-10_15-23-19.png?version=1&#x26;modificationDate=1668090199629&#x26;api=v2&#x26;effects=drop-shadow" alt=""><figcaption></figcaption></figure>

Une fois l'**Object User** créé, une fenêtre pop-up apparaît, affichant ses `Access Key` et `Secret Key`**.**

Vous pouvez fermer cette pop-up une fois que vous avez enregistré vos informations d'identification.

<figure><img src="https://docs.cegedim.cloud/download/attachments/102140875/image2022-11-10_15-27-20.png?version=1&#x26;modificationDate=1668090441027&#x26;api=v2&#x26;effects=drop-shadow" alt=""><figcaption></figcaption></figure>

L'**Object User** nouvellement créé est affiché dans l'onglet **User**:

<figure><img src="https://docs.cegedim.cloud/download/attachments/102140875/image2022-11-10_15-30-42.png?version=1&#x26;modificationDate=1668090642621&#x26;api=v2&#x26;effects=drop-shadow" alt=""><figcaption></figcaption></figure>

## Gérer un Object User

### Modifier le label <a href="#objectusersmanagement-modifierlelabel" id="objectusersmanagement-modifierlelabel"></a>

Vous pouvez modifier le label d'un **Object User** en utilisant le bouton ![](https://docs.cegedim.cloud/download/thumbnails/102140875/image2022-11-10_15-49-40.png?version=1\&modificationDate=1668091781015\&api=v2):

<figure><img src="https://docs.cegedim.cloud/download/attachments/102140875/image2022-11-10_16-20-50.png?version=1&#x26;modificationDate=1668093650798&#x26;api=v2&#x26;effects=drop-shadow" alt=""><figcaption></figcaption></figure>

### Verrouiller ou déverrouiller <a href="#objectusersmanagement-verrouilleroudeverrouiller" id="objectusersmanagement-verrouilleroudeverrouiller"></a>

Vous pouvez verrouiller ou déverrouiller un **Object User** en utilisant le bouton ![](https://docs.cegedim.cloud/download/thumbnails/102140875/image2022-11-10_15-51-39.png?version=1\&modificationDate=1668091899383\&api=v2):

<figure><img src="https://docs.cegedim.cloud/download/attachments/102140875/image2022-11-10_15-53-19.png?version=1&#x26;modificationDate=1668091999257&#x26;api=v2&#x26;effects=drop-shadow" alt=""><figcaption></figcaption></figure>

Un **Object User** verrouillé est identifié par un cadenas fermé ![](https://docs.cegedim.cloud/download/thumbnails/102140875/image2022-11-10_15-59-11.png?version=1\&modificationDate=1668092352015\&api=v2) situé à gauche du **label** et ne peut effectuer aucune opération sur l'**API S3**.

<figure><img src="https://docs.cegedim.cloud/download/attachments/102140875/image2022-11-10_15-58-29.png?version=1&#x26;modificationDate=1668092309632&#x26;api=v2&#x26;effects=drop-shadow" alt=""><figcaption></figcaption></figure>

### Renouveler la secret key

Vous pouvez à tout moment modifier la **secret key** d'un **Object User** en cliquant sur le bouton ![](https://docs.cegedim.cloud/download/thumbnails/102140875/image2022-11-10_16-0-52.png?version=1\&modificationDate=1668092452569\&api=v2).

{% hint style="danger" %}
Si vous changez le secret d'un **Object User**, toutes les applications ou clients utilisant cette **secret key**, obtiendront une erreur de type `401 Unauthorized Error`.
{% endhint %}

{% hint style="warning" %}
Le changement d'une **secret key** peut prendre quelques minutes pour se propager sur l'ensemble des sites du service de Stockage Objet de cegedim.cloud.
{% endhint %}

<figure><img src="https://docs.cegedim.cloud/download/attachments/102140875/image2022-11-10_16-1-55.png?version=1&#x26;modificationDate=1668092515197&#x26;api=v2&#x26;effects=drop-shadow" alt=""><figcaption></figcaption></figure>

Vous avez la possibilité de spécifier une "**période**", en secondes, pendant laquelle, l'ancienne et la nouvelle **secret key** sont valides et acceptées par le service de Stockage Objet de cegedim.cloud.

À la fin de cette période, l'ancienne clé secrète est invalidée.

Une fois l'action soumise, un popup apparait, affichant **la nouvelle** **secret key.**

<figure><img src="https://docs.cegedim.cloud/download/attachments/102140875/image-2023-6-13_18-30-40.png?version=1&#x26;modificationDate=1686673840813&#x26;api=v2&#x26;effects=drop-shadow" alt=""><figcaption></figcaption></figure>

Vous pouvez fermer cette pop-up une fois que vous avez enregistré vos informations d'identification.

## Supprimer un Object User

Vous pouvez supprimer un **Object User** en cliquant sur le bouton ![](https://docs.cegedim.cloud/download/thumbnails/102140875/image2022-11-10_16-10-31.png?version=1\&modificationDate=1668093031811\&api=v2).

{% hint style="danger" %}
Il n'est pas possible de restaurer un **Object User** supprimé.
{% endhint %}

<figure><img src="https://docs.cegedim.cloud/download/attachments/102140875/image2022-11-10_16-17-55.png?version=1&#x26;modificationDate=1668093475883&#x26;api=v2&#x26;effects=drop-shadow" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://academy.cegedim.cloud/francais/stockage/stockage-objet/stockage-objet-didacticiels/gerer-des-objects-users.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
