user copy

Prev Next

This command copies users from one local provider to another.

Usage

user copy  --destination-provider-id ID
          [--tenant-id TENANT]
          [--user-ids USERS]

Required Parameters

--destination-provider-id ID

Specifies the local provider to which the users are copied. Cannot be the default provider.

Options

--tenant-id TENANT

Specifies the tenant containing the provider and users. This parameter cannot be included if --user-ids is included. If included, then all users with s3 access keys for this tenant are copied.

--user-ids USERS

Specifies a list of a users to copy. This parameter cannot be included if --tenant-id is included.

Example

This example copies three users (IDs 10, 11, 12) from one local provider (ID 1) to another (ID 2)

vcli: admin> user copy --destination-provider-id 2 --user-ids 10, 11, 12

This example copies all users from a tenant (ID 7)

vcli: admin> user copy --destination-provider-id 2 --tenant-id 7