Commit Graph

164 Commits

Author SHA1 Message Date
Trent Mick
4a46310a8d experimental 'triton env [PROFILE]' 2015-11-24 16:40:17 -08:00
Trent Mick
212903922a is no longer hidden 2015-11-24 12:34:53 -08:00
Trent Mick
82443e2d67 joyent/node-triton#54 'triton rbac apply --dev-create-keys-and-profiles' 2015-11-23 16:57:58 -08:00
Trent Mick
6918fb93f7 joyent/node-triton#54 'triton rbac reset', 'triton [rbac] keys' default output changes, 'triton rbac apply' implicit usage of './rbac-user-keys' dir, drop shortIds for 'triton rbac ...' 2015-11-21 12:41:16 -08:00
Trent Mick
1160fe120b joyent/node-triton#54 'triton rbac info' improvements 2015-11-18 14:18:29 -08:00
Trent Mick
7c8554bf14 joyent/node-triton#54 'triton rbac apply' 2015-11-18 12:54:44 -08:00
Alex Wilson
00cdb81287 joyent/node-triton#55 PUBAPI-1166 Use http-signature for generating Authorization, not sprintf
Reviewed by: Trent Mick <trent.mick@joyent.com>
2015-11-13 16:46:09 -08:00
Trent Mick
dfbbf309e9 joyent/node-triton#54 'triton rbac {instance,image,network,package,}role-tags ...' 2015-11-12 16:13:23 -08:00
Trent Mick
cd611dafde joyent/node-triton#54 'triton rbac role-tags' and refactoring to make adding other *-role-tags easy 2015-11-12 16:04:12 -08:00
Trent Mick
4e45e4061f joyent/node-triton#54 a start at 'triton rbac info', add 'triton rbac instance-role-tags' 2015-11-09 15:09:37 -08:00
Trent Mick
74b8f3e42e joyent/node-triton#54 first pass at 'triton rbac key' and 'triton rbac keys' (with feeling, aka the new files actually added) 2015-11-05 15:21:19 -08:00
Trent Mick
dd0a70820b joyent/node-triton#54 first pass at 'triton rbac key' and 'triton rbac keys' 2015-11-05 15:13:14 -08:00
Trent Mick
4491a55093 Better help output for 'triton keys', also avoid double newlines between key output. 2015-11-05 12:41:56 -08:00
Trent Mick
c7daecc6f3 joyent/node-triton#54 first pass at 'triton rbac policy' and 'triton rbac policies' 2015-11-05 12:30:06 -08:00
Trent Mick
6b1065b24d Don't print 'user: undefined' for the env profile for 'triton profile' if not defined 2015-11-05 11:33:59 -08:00
Trent Mick
dd95ab5f4a joyent/node-triton#54 first pass at 'triton rbac role' and 'triton rbac roles' 2015-11-04 15:38:38 -08:00
Trent Mick
1652662e2c joyent/node-triton#54 Complete first pass at 'triton rbac user' and 'triton rbac users' 2015-11-04 00:11:19 -08:00
Trent Mick
8a46d23268 joyent/node-triton#54 A start at RBAC support (still very early) 2015-11-03 15:40:59 -08:00
Trent Mick
d4ba912955 Ensure CLI printing of usage info on UsageError doesn't blow up on a help *function* 2015-11-03 14:39:37 -08:00
Trent Mick
5bf78491ff Fix bug with 'CLI.tritonapi' getter creating a TritonApi client multiple times. 2015-11-03 14:39:18 -08:00
Trent Mick
a85391f023 minor fixes/tweaks to help output of a few commands 2015-10-29 15:24:37 -07:00
Trent Mick
59c41886d1 minor command help tweaks 2015-10-19 09:03:39 -07:00
Trent Mick
da447939d2 triton create ... --firewall for CreateMachine firewall_enabled
Fixes #49
2015-10-17 12:43:24 -07:00
Dave Eddy
08527b433c delete "rm" alias, fixes #44 2015-10-14 16:15:45 -04:00
Trent Mick
f1e90cdab8 triton profile ... doesn't use the profile from TRITON_PROFILE envvar
Fixes #43
2015-10-14 11:45:41 -07:00
Trent Mick
f7d9dc0ba2 joyent/node-triton#40 Divorce wanted between profile keyId and keyId actually sent to server
fixes #40
2015-10-07 15:49:49 -07:00
Trent Mick
a71a1ddba3 fix 'name' var usage; style nit on for-loop usage for early out 2015-10-06 23:33:18 -07:00
Trent Mick
b73766d399 style nits, no functional change 2015-10-06 23:28:25 -07:00
Trent Mick
8ece8d0024 Integration test config handling improvements. Add 'ResourceNotFound' error and fine tune exit status handling.
Fixes #37.
2015-10-06 23:24:42 -07:00
Dave Eddy
d79083b9a1 start/stop/reboot/delete take multiple arguments, fixes #38 2015-10-06 16:54:55 -04:00
Dave Eddy
3cbf85a121 show image name and version when UUID is specified, fixes #29 2015-10-05 16:34:24 -04:00
Dave Eddy
faca038854 exports main module 2015-09-29 18:15:08 -04:00
Dave Eddy
e7109071de cloudapi and tritonapi exports should match 2015-09-29 18:13:34 -04:00
Dave Eddy
464851843a add "list" and "ls" aliases for "instances", fixes #34 2015-09-29 18:01:18 -04:00
Trent Mick
a01c7eede6 'triton profile -a' fix when invalid keyId 2015-09-28 12:27:58 -07:00
Trent Mick
daecb2979b export 'promptField', broken by refactor before commit 2015-09-28 12:24:50 -07:00
Trent Mick
aeebcf19f0 'triton profile -a' from stdin, JSON file or interactively 2015-09-28 12:20:21 -07:00
Trent Mick
bf21ac467a 'triton profile{,s}' all except 'triton profile -a' 2015-09-25 12:19:29 -07:00
Dave Eddy
2eeb68cba5 document destructiveAllowed, use TRITON_* vars for tests 2015-09-25 13:24:12 -04:00
Trent Mick
f38bfb68f1 should support TRITON_KEY_ID as well 2015-09-25 10:22:58 -07:00
Dave Eddy
e5c5f2d54c use env profile for integration tests 2015-09-25 13:10:39 -04:00
Trent Mick
b238fcf52f improve on a DEPTH_ZERO_SELF_SIGNED_CERT error
from:
    triton account: error: DEPTH_ZERO_SELF_SIGNED_CERT
to this:
    triton account: error (SelfSignedCert): could not access CloudAPI https://10.88.88.3 because it uses a self-signed TLS certificate and your current profile is not configured for insecure access: DEPTH_ZERO_SELF_SIGNED_CERT
2015-09-23 21:10:52 -07:00
Trent Mick
ee07395eae joyent/node-triton#30 triton commands blow up obtusely if getting HTML content back from cloudapi endpoints
Fixes #30
2015-09-23 12:32:09 -07:00
Trent Mick
818a6b0afe no bigspinner by default: use '-ww' for a spinner, '-www' bigger, '-wwww' max 2015-09-23 09:30:06 -07:00
Dave Eddy
ee9f897f22 filter for name and version if supplied 2015-09-21 18:57:53 -04:00
Dave Eddy
a6d9bad267 filter image version on the server 2015-09-21 17:16:47 -04:00
Dave Eddy
aaeb58730b fix create UUID bug 2015-09-21 17:12:33 -04:00
Trent Mick
0c2ade98ba Fix "insecure":true in a profile
This was broken in commit 99d9113eae
2015-09-21 14:07:07 -07:00
Dave Eddy
b4900ea626 remove UUID_RE in favor of isUUID 2015-09-21 17:02:10 -04:00
Dave Eddy
7ab6453b1f remove broken cache files if found, fixes #27 2015-09-21 17:00:58 -04:00