oc secrets special chars

Solution In Progress - Updated -

Issue

  • I was trying to create a secret where the password contains an exclamation mark
    like this
$ oc secrets new-basicauth basicsecretgit --password=test!test --user=openpaas
-bash: !test": event not found
$ oc secrets new-basicauth basicsecretgittest --password=`test!test` --user=openpaas
-bash: !test`: event not found

Environment

  • Openshift Enterprise 3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content