Add User Metadata to Barbican Secrets

Registered by Fernando Diaz

Problem Description
===================

Users may require to add additional data to a Barbican Secret. A user may
want to add a description of the Secret as well as other necessary data
such as geolocation, rate, allowed time-access, etc. This will allow user
applications/services to check the user-metadata for certain fields in order
to allow/disallow an action to Barbican. Content can be in any format.

Proposed Change
===============

The proposed change will be to add a new attribute to Barbican
Secrets in order for user meta-data to be stored. A new API
endpoint must also be created for the manipulation of the metadata.

Blueprint information

Status:
Complete
Approver:
Douglas Mendizábal
Priority:
Low
Drafter:
Fernando Diaz
Direction:
Approved
Assignee:
Fernando Diaz
Definition:
Approved
Series goal:
Accepted for mitaka
Implementation:
Implemented
Milestone target:
milestone icon mitaka-3
Started by
Fernando Diaz
Completed by
Fernando Diaz

Related branches

Sprints

Whiteboard

Spec Location:
https://review.openstack.org/#/c/229995/

Relevant Patches:
https://review.openstack.org/#/c/242645/
https://review.openstack.org/#/c/243263/

Gerrit topic: https://review.openstack.org/#q,topic:270963,n,z

Addressed by: https://review.openstack.org/270963
    Introduce User-Meta table, model, and repo

Addressed by: https://review.openstack.org/275885
    User Metadata API and tests

(?)

Work Items

Work items:
Database alterations: DONE
Current and New API alterations and Tests: DONE

This blueprint contains Public information 
Everyone can see this information.