// Module included in the following assemblies: // // * cli_reference/rosa_cli/rosa-get-started-cli.adoc [id="rosa-using-bash-script_{context}"] = Using a Bash script This is an example workflow of how to use a Bash script with the `rosa` CLI. .Prerequisites Make sure that AWS credentials are available as one of the following options: * AWS profile * Environment variables (`AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`) .Procedure . Initialize `rosa` using an OpenShift Cluster Manager (OCM) offline token link:https://cloud.redhat.com/openshift/token/rosa[from Red Hat]: + [source,terminal] ---- $ rosa init --token= ---- . Create the {product-title} (ROSA) cluster: + [source,terminal] ---- $ rosa create cluster --cluster-name= ---- . Add an identity provider (IDP): + [source,terminal] ---- $ rosa create idp --cluster= --type= [arguments] ---- . Add a `dedicated-admin` user: + [source,terminal] ---- $ rosa grant user dedicated-admin --user= --cluster= ----