Sha256: 4a24f87c9924da33ec08943416d4cbc12776ec7856a8a649e401f6cd2fe9296c

Contents?: true

Size: 1.59 KB

Versions: 4

Compression:

Stored size: 1.59 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: <%= @account_id %>

# There are five 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: <%= @user_email %>
#:password_base64: my_password_encoded_as_base64

# 1. Use the following parameters to login with your email and plaintext password:
:email: <%= @user_email %>
:password: <%= @user_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 send a pre-authenticated cookie with every request:
#:cookies: my_cookie_string

# 4. Use the following parameter to send an existing OAuth access token with every request:
# To learn more about OAuth and how to obtain an access token, see
# http://support.rightscale.com/12-Guides/03-Rightscale_API/OAuth
#:access_token: my_token_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_helper-1.1.2 cookbooks/right_api_helper/templates/default/login.yml.erb
right_api_helper-1.1.1 cookbooks/right_api_helper/templates/default/login.yml.erb
right_api_helper-1.1.0 cookbooks/right_api_helper/templates/default/login.yml.erb
right_api_helper-1.0.0 cookbooks/right_api_helper/templates/default/login.yml.erb