Pick an option
Safest first. Neither Oracle Cloud nor AWS offers a “sign in with” consent screen for managing resources, so there is no sign in button here.
Root or tenancy admin credentials are never accepted, and the tenancy root is never accepted as the compartment.
Option 1: guided bootstrap
Sign in once with a browser session, then review the plan. The default is a dry run: it only reads your session and prints every command it would run.- Creates the compartment
levelrailunder the tenancy root (or--parent-compartment). - Creates the group and the user
levelrail-<name>, turns off the console password and every credential type except API keys, and adds the user to the group. - Creates the policy
levelrail-<name>with statements for that one compartment. It never grants anything tenancy wide and never grants IAM rights. - Makes an RSA key pair on your machine, uploads only the public half and reads the fingerprint.
- Sends tenancy, region, compartment, user, fingerprint and the private key to Levelrail over the authenticated API (https, or plain http only to this machine), then wipes the local copy.
oci commands to remove it. Nothing is deleted for you. If your session expired it tells you to run oci session authenticate again.
Flags: --profile (default DEFAULT), --region, --tenancy, --compartment-name (default levelrail), --parent-compartment, --name, --dry-run, --yes.