open-vault/logical
Jeff Mitchell 77e7379ab5 Implement the cubbyhole backend
In order to implement this efficiently, I have introduced the concept of
"singleton" backends -- currently, 'sys' and 'cubbyhole'. There isn't
much reason to allow sys to be mounted at multiple places, and there
isn't much reason you'd need multiple per-token storage areas. By
restricting it to just one, I can store that particular mount instead of
iterating through them in order to call the appropriate revoke function.

Additionally, because revocation on the backend needs to be triggered by
the token store, the token store's salt is kept in the router and
client tokens going to the cubbyhole backend are double-salted by the
router. This allows the token store to drive when revocation happens
using its salted tokens.
2015-09-15 13:50:37 -04:00
..
framework Implement the cubbyhole backend 2015-09-15 13:50:37 -04:00
testing Plumb per-mount config options through API 2015-09-10 15:09:53 -04:00
auth.go vault: Adding InternalData to Auth 2015-05-09 11:39:54 -07:00
connection.go logical: add credential info to logical backend structures 2015-03-30 14:23:32 -07:00
error.go This adds a new error class which can be used by logical backends to 2015-08-10 13:27:25 -04:00
lease.go Rejig Lease terminology internally; also, put a few JSON names back to their original values 2015-08-20 22:27:01 -07:00
lease_test.go Internally refactor Lease/LeaseGracePeriod into TTL/GracePeriod 2015-08-20 18:00:51 -07:00
logical.go Rename View to StorageView to make it more distinct from SystemView 2015-09-15 13:50:37 -04:00
request.go Fix a couple of typos 2015-08-09 15:20:06 -04:00
response.go Fix a couple of typos 2015-08-09 15:20:06 -04:00
secret.go Internally refactor Lease/LeaseGracePeriod into TTL/GracePeriod 2015-08-20 18:00:51 -07:00
storage.go logical/aws 2015-03-20 19:03:20 +01:00
storage_inmem.go vault: Passthrough backend uses logical.Backend 2015-03-15 14:27:06 -07:00
storage_inmem_test.go vault: Passthrough backend uses logical.Backend 2015-03-15 14:27:06 -07:00
system_view.go Remove error returns from sysview TTL calls 2015-09-10 15:09:54 -04:00
testing.go vault: Passthrough backend uses logical.Backend 2015-03-15 14:27:06 -07:00
uuid.go logical: WAL methods 2015-03-17 20:39:45 -05:00