Sha256: 754eeadc675c980aaf618eb2b1bead73666c4a815d4e3ef1f7da801e194842ad

Contents?: true

Size: 743 Bytes

Versions: 3

Compression:

Stored size: 743 Bytes

Contents

# Copyright 2020 StrongDM Inc
# 
# 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.
# 
require "strongdm"

client = SDM::Client.new(ENV['SDM_API_ACCESS_KEY'], ENV['SDM_API_SECRET_KEY'])
users = client.accounts.list('')
users.each { |user|
	p user
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
strongdm-1.0.11 examples/listUsers.rb
strongdm-1.0.10 examples/listUsers.rb
strongdm-1.0.0 examples/listUsers.rb