Wang Yan 732e9a21cd
updates on robot accounts (#13623)
* updates on robot accounts

1, add patch method to refresh secret of a robot
2, fix robot account update issue
3, add editable attribute to handle the version 1 robot account
4, add duration for robot account
5, hide secret for get/list robot account

Signed-off-by: wang yan <wangyan@vmware.com>

* update code per review comments

1, change expirate creation func to AddDate().
2, remove the scanner duration specification, use the default value.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2020-12-01 18:31:34 +08:00
..
2020-11-27 14:01:04 +08:00
2020-10-21 08:14:01 +00:00
2020-11-27 14:01:04 +08:00
2020-11-27 14:01:04 +08:00
2020-11-27 14:01:04 +08:00
2019-12-05 14:44:07 +08:00
2017-01-06 15:41:07 +08:00
2020-08-13 08:43:07 +00:00
2020-08-13 08:43:07 +00:00
2020-08-13 08:43:07 +00:00
2019-12-05 14:44:07 +08:00
2017-03-23 19:12:04 -07:00