[jbosstools-issues] [JBoss JIRA] (JBDS-3188) Support of krb5-principal keys in openshift-java-client (eclipse)

Andre Dietisheim (JIRA) issues at jboss.org
Wed Dec 17 10:32:29 EST 2014


    [ https://issues.jboss.org/browse/JBDS-3188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028351#comment-13028351 ] 

Andre Dietisheim edited comment on JBDS-3188 at 12/17/14 10:32 AM:
-------------------------------------------------------------------

One needs to add the kerberos key to OpenShift via a key type *krb5-principal* as one can see when querying our internal OSE instance:

{code:sh}
curl -k -H "Accept: application/json; version=1.2" --user adietish:1q5T9o3E$ https://console.itos.redhat.com/broker/rest/user/ -X GET --proxy http://file.rdu.redhat.com:3128 | json_reformat  | less
{code}

{code:javascript}
"rel": "Update SSH key",
        "required_params": [
          {
            "description": "Type of Key",
            "invalid_options": [

            ],
            "name": "type",
            "type": "string",
            "valid_options": [
              "ssh-rsa",
              "ssh-dss",
              "ssh-rsa-cert-v01 at openssh.com",
              "ssh-dss-cert-v01 at openssh.com",
              "ssh-rsa-cert-v00 at openssh.com",
              "ssh-dss-cert-v00 at openssh.com",
              "krb5-principal"
            ]
          },
{code}


was (Author: adietish):
One needs to add the kerberos key to OpenShift via a key type "krb5-principal" as one can see here: http://www.openshift.org/documentation/rest_api/key-response-addnewsshkey-1-6.html

{code:javascript}
     "rel": "Update SSH key",
        "required_params": [
          {
            "description": "Type of Key",
            "invalid_options": [

            ],
            "name": "type",
            "type": "string",
            "valid_options": [
              "ssh-rsa",
              "ssh-dss",
              "ssh-rsa-cert-v01 at openssh.com",
              "ssh-dss-cert-v01 at openssh.com",
              "ssh-rsa-cert-v00 at openssh.com",
              "ssh-dss-cert-v00 at openssh.com",
              "krb5-principal"
            ]
          },
{code}

>  Support of krb5-principal keys in openshift-java-client (eclipse)
> ------------------------------------------------------------------
>
>                 Key: JBDS-3188
>                 URL: https://issues.jboss.org/browse/JBDS-3188
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Feature Request
>          Components: openshift
>    Affects Versions: 8.0.x
>            Reporter: Christos Triantafyllidis
>            Assignee: Max Rydahl Andersen
>
> The openshift-java-client which is used by the eclipse plugin doesn't support this krb5-principal keys.
> This request is to be able to clone/pull/push updates to openshift application repositories when krb5 credentials are already available and the openshift broker supports krb5 authentication.
> https://github.com/openshift/openshift-java-client/blob/master/src/main/java/com/openshift/client/SSHKeyType.java



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list