Update readme to the new refactored methods
This commit is contained in:
14
README.md
14
README.md
@@ -38,16 +38,16 @@ secrets = Zanzibar::Zanzibar.new(:domain => 'mydomain.net', :wsdl => "https://my
|
||||
# Zanzibar::Zanzibar.new(:domain => 'mydomain.net', :wsdl => "https://my.scrt.server/webservices/sswebservice.asmx?wsdl", :globals => {:ssl_verify_mode => :none})
|
||||
|
||||
## Simple password -> takes secret id as argument
|
||||
secrets.get_secret(1234)
|
||||
secrets.get_password(1234)
|
||||
|
||||
## Private Key -> takes hash as argument, requires :scrt_id, optional :scrt_item_id, :path
|
||||
secrets.download_private_key(:scrt_id => 2345, :path => 'secrets/')
|
||||
## Private Key -> takes hash as argument, requires :scrt_id, :type, optional :scrt_item_id, :path
|
||||
secrets.download_secret_file(:scrt_id => 2345, :path => 'secrets/', :type => "Private Key")
|
||||
|
||||
## Public Key -> takes hash as argument, requires :scrt_id, optional :scrt_item_id, :path
|
||||
secrets.download_public_key(:scrt_id => 2345, :path => 'secrets/')
|
||||
## Public Key -> takes hash as argument, requires :scrt_id, :type, optional :scrt_item_id, :path
|
||||
secrets.download_secret_file(:scrt_id => 2345, :path => 'secrets/', :type => "Public Key")
|
||||
|
||||
## Attachment; only supports secrets with single attachment -> takes hash as argument, requires :scrt_id, optional :scrt_item_id, :path
|
||||
secrets.download_attachment(:scrt_id => 3456, :path => 'secrets/')
|
||||
## Attachment; only supports secrets with single attachment -> takes hash as argument, requires :scrt_id, :path, optional :scrt_item_id, :path
|
||||
secrets.download_secret_file(:scrt_id => 2345, :path => 'secrets/', :type => "Attachment")
|
||||
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user