#6644 [Vault] Separate privileges for read and write
Opened 7 years ago by cheimes. Modified 5 years ago

For network bound disk encryption and policy based decryption with Clevis & Tang, a new set of vault privileges is required.

1) write-only When the disk of a new host is encrypted, Clevis uses the host keytab to store a recovery key in KRA. The identifier of the key is the hostname + UUID of the LUKS partition. Clevis must not be able to read the recovery key from the vault again. It may need to be able to check for the presence of the recovery key, though.

2) read-only A user with a special Clevis recovery permission must be able to fetch the key from the KRA. Only users with this permission for a host or host group are allowed to retrieve the recovery key in order to recover a LUKS partition in case of a catastrophic failure.

3) delete-only Neither Clevis nor recovery users are allowed to delete a recovery key. We still want to have a way to remove keys in case a host or disk is removed indefinitely.

We may need to define a new vault type just for this special case and bind three new permissions to the new vault type.


As far as Clevis is concerned, we'll just push to a user-specified URL and Custodia will do the direct interface with the Vault.

This permissions layout is CRUD: Create-Read-Update-Delete. We need separate permissions for each.

The Clevis user will have Create only. An administrator will have the ability to do anything.

Metadata Update from @cheimes:
- Issue assigned to someone
- Issue set to the milestone: 0.0 NEEDS_TRIAGE

7 years ago

Metadata Update from @cheimes:
- Custom field affects_doc reset
- Custom field component reset
- Custom field type reset
- Issue close_status updated to: None
- Issue set to the milestone: None (was: 0.0 NEEDS_TRIAGE)
- Issue tagged with: integration

7 years ago

We are out of time to implement in in 4.5, therefore postponing to next major release.

Metadata Update from @pvoborni:
- Issue priority set to: 2 (was: 3)
- Issue set to the milestone: FreeIPA 4.7

7 years ago

Metadata Update from @rcritten:
- Issue set to the milestone: FreeIPA 4.7.1 (was: FreeIPA 4.7)

5 years ago

FreeIPA 4.7 has been released, moving to FreeIPA 4.7.1 milestone

Login to comment on this ticket.

Metadata