20442 Commits

Author SHA1 Message Date
Jake McDermott
3dee9f0512
add plugin for cyberark aim 2019-04-02 11:23:20 -04:00
Jake McDermott
261a635005
remove non-matches from input source arrays 2019-04-02 11:23:17 -04:00
Jake McDermott
4f13592430
hide drag-and-drop textarea hints when showing input value as tag
You can't drag and drop or enter text when a text area is displaying its value
as a tag, so we hide the hint to avoid incorrectly suggesting that you can.
2019-04-02 11:23:13 -04:00
Jake McDermott
73c9d1b7a9
remove bootstrap fade from dialog component
This was breaking the fixed positioning of help popovers for form inputs
nested within the dialog so I'm replacing it.
2019-04-02 11:23:10 -04:00
Jake McDermott
8180a2060a
rename at-easy-modal to at-dialog 2019-04-02 11:23:06 -04:00
Jake McDermott
dfaf19cdf3
use default action button class when fill and color props aren't given 2019-04-02 11:23:02 -04:00
Jake McDermott
ea9ed31f9d
refactor metadata conversion function to use reduce 2019-04-02 11:22:59 -04:00
Jake McDermott
05226333ff
move tag max height declaration to input tag wrapper
We don't want to apply max height to all tags, just the ones we embed
within text/textarea input fields.
2019-04-02 11:22:55 -04:00
Jake McDermott
5b79843390
use a shared variable for layout declarations 2019-04-02 11:22:51 -04:00
Jake McDermott
1eda939ce2
add tips for secret controls 2019-04-02 11:22:48 -04:00
Jake McDermott
43456d13c4
don't replace input source unless changed 2019-04-02 11:22:44 -04:00
Jake McDermott
215c3c87e5
enable input source linking for secret textarea fields 2019-04-02 11:22:41 -04:00
Jake McDermott
957804e22a
enable input source linking for textarea fields 2019-04-02 11:22:37 -04:00
Jake McDermott
e14f17687c
disable prompt-on-launch when input source is set 2019-04-02 11:22:34 -04:00
Jake McDermott
e0d61cfb8e
enable input source linking for password fields 2019-04-02 11:22:30 -04:00
Jake McDermott
1344706095
add wrapper for text input tags 2019-04-02 11:22:27 -04:00
Jake McDermott
5c855b5bd1
add selected credential tray to input source lookup 2019-04-02 11:22:23 -04:00
Jake McDermott
6d0f2948aa
don't show lookup until data is fetched 2019-04-02 11:22:20 -04:00
Jake McDermott
736bd2ed67
add validation for required values and metadata fields 2019-04-02 11:22:16 -04:00
Jake McDermott
47f31b41fb
combine add and edit controllers 2019-04-02 11:22:12 -04:00
Jake McDermott
61eeb630f8
move org edit permission check to route resolve 2019-04-02 11:22:08 -04:00
Jake McDermott
7f55a1da0d
move input value initialization to models 2019-04-02 11:22:05 -04:00
Jake McDermott
ceef7f57af
add input source creation ui 2019-04-02 11:21:59 -04:00
Jake McDermott
393ad6b2f4
add cyberark conjur to tested credential types 2019-04-02 11:21:51 -04:00
Ryan Petrello
0768c6ac1d
store the public key for HashiVault signing in the plugin metadata 2019-04-02 11:21:47 -04:00
Ryan Petrello
2824616ba6
add support for CyberArk Conjur (API v5) 2019-04-02 11:21:44 -04:00
Jake McDermott
c436dcf875
add input source prompting and plugin testing 2019-04-02 11:21:40 -04:00
Jake McDermott
0de8a89293
support input source metadata in plugin test apis 2019-04-02 11:21:36 -04:00
Ryan Petrello
81a509424a
prefetch related source credentials in tasks.py 2019-04-02 11:21:33 -04:00
Ryan Petrello
42f4956a7f
enforce required credential fields at job start time rather than on save
this is necessary for credential plugins support so that you can (in two
requests):

1.  Save a Credential with _no_ input values defined
2.  Create/associate one (or more) CredentialInputSource records to the
    new Credential
2019-04-02 11:21:29 -04:00
Jake McDermott
e2d474ddd2
document restriction of external-external credential source linking 2019-04-02 11:21:25 -04:00
Ryan Petrello
011d7eb892
clean up access to various CredentialInputSource fields (#3336) 2019-04-02 11:21:21 -04:00
Ryan Petrello
018ff91620
add related and summary fields to the CredentialInputSource endpoint 2019-04-02 11:21:17 -04:00
Ryan Petrello
368d933799
remove association behavior from /api/v2/credentials/input_sources/ 2019-04-02 11:21:14 -04:00
Jake McDermott
e9532dea8e
cache dynamic input fields
Query dynamic input fields once on attribute access and then cache it for future use.
2019-04-02 11:21:10 -04:00
Ryan Petrello
b911f8bf77
allow creation at /api/v2/credential_input_sources 2019-04-02 11:21:06 -04:00
Ryan Petrello
e727909a61
rename the CredentialInputSource related_names so they're plural 2019-04-02 11:21:02 -04:00
Ryan Petrello
13366c1e75
Encrypt machine.ssh_public_key_data (in case users paste in signed data) 2019-04-02 11:20:58 -04:00
Ryan Petrello
ca6d124417
add API examples for supported credential plugins 2019-04-02 11:20:55 -04:00
Ryan Petrello
35cca68f04
add RBAC definitions for CredentialInputSource 2019-04-02 11:20:51 -04:00
Ryan Petrello
dcf17683e2
mark cred plugin strings for translation 2019-04-02 11:20:48 -04:00
Ryan Petrello
b851e2be4a
don't add hvac as a dependency for hashicorp vault integration
hvac is just based on requests anyways, and it doesn't support half of
what we need (like the SSH secrets engine API)
2019-04-02 11:20:44 -04:00
Ryan Petrello
69368d874e
move path parameterization to the CredentialInputSource model 2019-04-02 11:20:36 -04:00
Jake McDermott
0ee223f799
add api for testing credential plugins 2019-04-02 11:20:33 -04:00
Ryan Petrello
7a43f00a5d
add support for HashiCorp signed SSH certificates 2019-04-02 11:20:29 -04:00
Ryan Petrello
4ed5bca5e3
add credential plugin support for Azure Key Vault 2019-04-02 11:20:26 -04:00
Ryan Petrello
0a87469225
give credential plugins an explicit namespace 2019-04-02 11:20:22 -04:00
Ryan Petrello
63997838cd
support HashiCorp Vault versioned secrets (API v2) 2019-04-02 11:20:19 -04:00
Ryan Petrello
89b731a0cb
Improve the HashiCorp Vault KV name and field labels/help_text 2019-04-02 11:20:15 -04:00
Ryan Petrello
9036ba492c
switch CredentialInput creation to use the associate/disassociate view 2019-04-02 11:20:10 -04:00