31.12.2022 Views

REST API & CLI for ExaCS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

OCI CLI-IAM User

List three users in the tenancy

oci iam user list -c <root-compartment-id> --limit 3

oci iam user list -c <root-compartment-id> --limit 3 --page <opc-next-page>

List three groups user specified as member

oci iam user list-groups -c <root-compartment-id> --user-id <user_id> --limit 3 --page <opc-next-page>

Get oci user details

oci iam user get --user-id <user_id>

Create a new user in tenancy

oci iam user create -c <root-compartment-id> --name <user_name> --description "<desctiption>"

delete specific api signing keys

oci iam user api-key list <user-id>

oci iam user api-key delete --user-id <user-id> --fingerprint <fingerprint>

Create a new swift password for the specified user

oci iam user swift-password create --description <description> --user-id <user-id>

List swift password for specified user

oci iam user swift-password list --user-id <user-id

Update swift password description

oci iam user swift-password list --user-id <user-id>

oci iam user swift-password update --user-id <user-id> --swift-password-id <swift-password-id> --description <description> --if-match

<etag>

Delete swiftpassword for specific user

oci iam user swift-password delete --user-id <user-id> --swift-password-id <swift-password-id> --if-match <etag>

Create new one time password for console user

oci iam user ui-password create-or-reset --user-id <user-id>

Copyright © 2019, Oracle and/or its affiliates. All rights reserved.

21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!