Enabling or Disabling Outscale Authentication

You can enable or disable authentication using Outscale credentials when identity federation is activated. This action can be done by either the root account or EIM users, if given the appropriate rights. For more information, see Managing Policies to Access Your Resources.

Enabling Outscale Authentication

Enabling Outscale Authentication for all EIM Users

The EnableOutscaleLoginForUsers command enables the possibility for all your EIM users to log in using their Outscale credentials when identity federation is activated.

Request sample
$ osc-cli api EnableOutscaleLoginForUsers --profile "default"

This command contains the following attributes that you need to specify:

  • DryRun: (optional) If true, checks whether you have the required permissions to perform the action.

The EnableOutscaleLoginForUsers command returns the following elements:

  • ResponseContext: Information about the context of the response.

    • RequestId: The ID of the request.

Result sample
{
  "ResponseContext": {
    "RequestId": "0475ca1e-d0c5-441d-712a-da55a4175157"
  }
}

Enabling Outscale Authentication for specific EIM Users

The EnableOutscaleLoginPerUsers command enables the possibility for one or more specific users to log in using their Outscale credentials when identity federation is activated.

Request sample
$ osc-cli api EnableOutscaleLoginPerUsers --profile "default" \
    --UserNames '["example-user", "test-user"]'

This command contains the following attributes that you need to specify:

  • DryRun: (optional) If true, checks whether you have the required permissions to perform the action.

  • UserNames: The usernames of the EIM users you want to enable the Outscale login for.

The EnableOutscaleLoginPerUsers command returns the following elements:

  • ResponseContext: Information about the context of the response.

    • RequestId: The ID of the request.

Result sample
{
  "ResponseContext": {
    "RequestId": "0475ca1e-d0c5-441d-712a-da55a4175157"
  }
}

Disabling Outscale Authentication

Disabling Outscale Authentication for all EIM Users

The DisableOutscaleLoginForUsers command disables the possibility of logging in using the Outscale credentials of your EIM users when identity federation is activated.

Request sample
$ osc-cli api DisableOutscaleLoginForUsers --profile "default"

This command contains the following attributes that you need to specify:

  • DryRun: (optional) If true, checks whether you have the required permissions to perform the action.

The DisableOutscaleLoginForUsers command returns the following elements:

  • ResponseContext: Information about the context of the response.

    • RequestId: The ID of the request.

Result sample
{
  "ResponseContext": {
    "RequestId": "0475ca1e-d0c5-441d-712a-da55a4175157"
  }
}

Disabling Outscale Authentication for specific EIM Users

The DisableOutscaleLoginPerUsers command disables the possibility for one or more specific users to log in using their Outscale credentials when identity federation is activated.

Request sample
$ osc-cli api DisableOutscaleLoginPerUsers --profile "default" \
    --UserNames '["example-user", "test-user"]'

This command contains the following attributes that you need to specify:

  • DryRun: (optional) If true, checks whether you have the required permissions to perform the action.

  • UserNames: The usernames of the EIM users you want to disable the Outscale login for.

The DisableOutscaleLoginPerUsers command returns the following elements:

  • ResponseContext: Information about the context of the response.

    • RequestId: The ID of the request.

Result sample
{
  "ResponseContext": {
    "RequestId": "0475ca1e-d0c5-441d-712a-da55a4175157"
  }
}

Corresponding API Methods