Bug 1313710 - no remove option for "oc secrets" command.
no remove option for "oc secrets" command.
Product: OpenShift Container Platform
Classification: Red Hat
Component: Command Line Interface (Show other bugs)
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Fabiano Franz
Wei Sun
Depends On:
  Show dependency treegraph
Reported: 2016-03-02 04:42 EST by Johnny Liu
Modified: 2016-03-04 13:44 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-03-04 13:44:22 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Johnny Liu 2016-03-02 04:42:37 EST
Description of problem:
After user new a secret, then add it to a ServiceAccount, when user want to remove it from the ServiceAccount, no such option to do that.

#  oc secrets --help
Manage secrets in your project

Secrets are used to store confidential information that should not be contained inside of an image.
They are commonly used to hold things like keys for authentication to other internal systems like 
Docker registries.

  oc secrets [options]

Available Commands:
  new           Create a new secret based on a key file or on files within a directory
  new-dockercfg Create a new dockercfg secret
  new-basicauth Create a new secret for basic authentication
  new-sshauth   Create a new secret for SSH authentication
  add           Add secrets to a ServiceAccount

Use "oc help <command>" for more information about a given command.
Use "oc options" for a list of global command-line options (applies to all commands).

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:
Comment 1 Fabiano Franz 2016-03-04 13:44:22 EST
Turned into a story: https://trello.com/c/38bAj7iu.

Note You need to log in before you can comment on or make changes to this bug.