Barbican client container command error check
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| python-barbicanclient |
In Progress
|
Undecided
|
maxx_os | ||
Bug Description
Barbican client command to create container does not error if secret ref provided is not as per the convention "name=secretRef". Instead of silently creating the container without the secret ref, we should issue an error.
1) Version of Barbican client: origin/master
2) Steps to reproduce:
~$ barbican secret container create --secret "http://
Starting new HTTP connection (1): localhost
Resetting dropped connection: localhost
+------
| Field | Value |
+------
| Container href | http://
| Name | None |
| Created | 2016-07-21 07:47:28.
| Status | ACTIVE |
| Type | generic |
| Secrets | None |
| Consumers | None |
+------
| Changed in barbican: | |
| assignee: | nobody → maxx_os (maxx-os) |
| affects: | barbican → python-barbicanclient |
| Changed in python-barbicanclient: | |
| status: | New → In Progress |
Yeah, I met the problem as well.