Add signing of certificates to cluster and downloading CA from cluster

Registered by Shu Muto

As action for cluster, add certificate registration function and downloading function.

- sign certificate
  read csr file at browser and send magnum-ui REST api with cluster (id or name).
  use magnumclient.v1.certificates.create(csr='csr string', cluster='cluster id or name')
  magnum-ui REST api returns cert.pem as string to browser, and provide it to user as downloaded file by javascript.
- download CA
  use magnumclient.v1.certificates.get(cluster='cluster id or name')
  magnum-ui REST api returns ca.pem as string to browser, and provide it to user as downloaded file by javascript.
- help strings
  from magnumclient.v1.certificates_shell.py
- add actions to cluster table view and cluster detail view

Blueprint information

Status:
Complete
Approver:
Shu Muto
Priority:
High
Drafter:
Shu Muto
Direction:
Approved
Assignee:
Shu Muto
Definition:
Approved
Series goal:
Accepted for newton
Implementation:
Implemented
Milestone target:
milestone icon 2.0.1
Started by
Shu Muto
Completed by
Shu Muto

Related branches

Sprints

Whiteboard

Previous discussion: https://bugs.launchpad.net/magnum-ui/+bug/1569306

Gerrit topic: https://review.openstack.org/#q,topic:bp/cluster-certificates,n,z

Addressed by: https://review.openstack.org/362672
    [WIP] Add REST api for Certificates

Addressed by: https://review.openstack.org/366522
    Add show certification action to cluster panel

Addressed by: https://review.openstack.org/367086
    Add sign certificate action to cluster panel

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.