rs_workflows/operation/osam_flows.md¶
OSAM flow implementation
OSAMRequestError
¶
OSAMUserNotFoundError
¶
create_rights_artifact(rights, username)
async
¶
Register the JSON with OBS rights.
Source code in docs/rs-client-libraries/rs_workflows/operation/osam_flows.py
osam_synchronize_accounts(env=FlowEnvArgs(owner_id='operator-osam'))
async
¶
Synchronize keycloak and object storage accounts.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
env
|
FlowEnvArgs
|
user account that call the flow |
FlowEnvArgs(owner_id='operator-osam')
|
Raises:
| Type | Description |
|---|---|
OSAMRequestError
|
error HTTP status error |
Source code in docs/rs-client-libraries/rs_workflows/operation/osam_flows.py
osam_update_user(user_name, env=FlowEnvArgs(owner_id='operator-osam'))
async
¶
Flow that update a single OBS account.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
env
|
FlowEnvArgs
|
account that call the flow |
FlowEnvArgs(owner_id='operator-osam')
|
user_name
|
str
|
account to be updated |
required |