Sha256: 33b06d110803608ff687cc19785305746f84a2274833316e33e999d0cc602c8c
Contents?: true
Size: 1.17 KB
Versions: 4
Compression:
Stored size: 1.17 KB
Contents
# Copyright (c) 2017 Baidu.com, Inc. All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software distributed under the # License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, # either express or implied. See the License for the specific language governing permissions # and limitations under the License. =begin Provides access to the BCE credentials used for accessing BCE services: BCE access key ID and secret access key. These credentials are used to securely sign requests to BCE services. =end module Baidubce module Auth class BceCredentials attr_accessor :access_key_id, :secret_access_key, :security_token def initialize(access_key_id, secret_access_key, security_token="") @access_key_id = access_key_id @secret_access_key = secret_access_key @security_token = security_token end end end end
Version data entries
4 entries across 4 versions & 1 rubygems