Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.
/ vinyldns_rs Public archive

rust client code for interacting with vinyldns

License

Notifications You must be signed in to change notification settings

shua/vinyldns_rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTICE: This repo is archived and no longer maintained (as if it ever was...)


>                       I hope I will be read
>                                -- this readme


This repository contains a client written in rust to interact with [vinyldns]

It will include both a library with a `Client` struct for use in other code, as well
as a binary offering a simple cli for calling the api.

[vinyldns]: http://vinyldns.io/


Development
---
The cli tool can be built with

	cargo build

and run with

	cargo run -- <flags here>

See [vinyldns] docs for getting the api started, usually at `http://localhost:9000`.
My own sanity test so far has been running the following commands (todo: integration test?)

	export VINYLDNS_HOST="http://localhost:9000"
	export VINYLDNS_ACCESS_KEY=testUserAccessKey
	export VINYLDNS_SECRET_KEY=testUserSecretKey
	cargo run -- create-group --name testgroup --email [email protected]
	cargo run -- list-groups

grab the group id from one of the previous commands

	cargo run -- create-zone --name ok. --email [email protected] --admin-group-id <group-id>
	cargo run -- list-zones

try also running 

	cargo run -- -h
	cargo run -- <subcommand> -h

to get some examples

About

rust client code for interacting with vinyldns

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages