Sha256: 9482c1ad5870775c91d7ca3df26a0902f5447126c98f39f70b22904e0983cda5

Contents?: true

Size: 1.3 KB

Versions: 4

Compression:

Stored size: 1.3 KB

Contents

# The API login details can be put in a YAML file. This is an example login.yml which
# will be needed for login_to_client_irb.rb quick login method.

# Account ID is a required parameter. You can find your account number by logging into the
# RightScale dashboard (https://my.rightscale.com), navigate to the Settings > Account Settings page.
# The account number is at the end of the browser address bar.
:account_id: my_account_id

# There are four login mechanisms:

# 0. Use the following parameters to login with your email and base64-encoded password:
# To encode your plaintext password, use 'base64' command or similar.
:email: my@email.com
:password_base64: my_password_encoded_as_base64

# 1. Use the following parameters to login with your email and plaintext password:
:email: my@email.com
:password: my_password

# 2. Use the following parameter to login with an instance_token:
# To find the instance_token, launch a server, navigate to the info page and under
# User Data box, you will see RS_API_TOKEN = your_account_id:the_instance_token
:instance_token: my_instance_token

# 3. Use the following parameter to login with pre-authenticated cookies:
:cookies: my_cookie_string

# The following are optional parameters:
:api_url: (this defaults to https://my.rightscale.com)
:api_version: (this defaults to 1.5)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
right_api_client-1.5.15 config/login.yml.example
right_api_client-1.5.14 config/login.yml.example
right_api_client-1.5.13 config/login.yml.example
right_api_client-1.5.12 config/login.yml.example