Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-5697

FIWARE.Request.Lab.Zurich.Adding Region Support Keys

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-LAB-HELP
    • Labels:
      None
    • HD-Node:
      Zurich

      Description

      The region staff team are responsible of the virtual machines instantiated on their servers. Therefore each region staff should have the control of who access the virtual machines for support purposes and set and enforce the corresponding policy. It is not possible if the public keys are shared among all the regions. Additionally, it is also extremely insecure and a problem when a region leaves the federation.

      A new service, called aiakos and deployed aiakos.lab.fiware.org, has been deployed in FIWARE Lab to manage support region ssh and gpg keys.

      As region administrator, you should create your ssh, and gpg keys and upload it into the aikos service (you can obtain information about how create your keys in https://github.com/telefonicaid/fiware-aiakos/blob/develop/doc/README.rst#generating-a-ssh-key).

      To upload your keys into the aiakos service, you should use just a POST operation
      POST: https://jsapi.apiary.io/apis/fiwareaiakos/reference/aiakos-v1/add-key/post-key.html

      You can find information about why ssh and gpg keys are needed in https://github.com/telefonicaid/fiware-aiakos/blob/develop/doc/README.rst#why-a-ssh-key-and-a-gpg-key-are-needed

        Activity

        Hide
        henar Henar Muñoz added a comment -

        To check that your key is uploaded, you can do a GET request:
        http://aiakos.lab.fiware.org:3000/v1/support/

        {yourregion}

        /sshkey
        Tell us if you have any problem.

        Show
        henar Henar Muñoz added a comment - To check that your key is uploaded, you can do a GET request: http://aiakos.lab.fiware.org:3000/v1/support/ {yourregion} /sshkey Tell us if you have any problem.
        Hide
        ZHAW Node Helpdesk Zurich Node Helpdesk added a comment -

        Instructions unclear - sent mail on mailing list for further clarification.

        Show
        ZHAW Node Helpdesk Zurich Node Helpdesk added a comment - Instructions unclear - sent mail on mailing list for further clarification.
        Hide
        henar Henar Muñoz added a comment -

        When you send the POST request, you send the token id of your region admin user. With this token aiakos obtains the region it belongs to. The request is the same for the sskkey or gpgkey. Aiakos detects if there is a ssh or gpg key according to the payload sent.

        The POST request (with curl) would be:
        curl --request POST --url http://aiakos.lab.fiware.org:3000/v1/support --header 'accept: text/plain' --header 'content-type: text/plain’ --header ‘X-Auth-Token: your token id’ —data your ssh key path or gpg key path

        Show
        henar Henar Muñoz added a comment - When you send the POST request, you send the token id of your region admin user. With this token aiakos obtains the region it belongs to. The request is the same for the sskkey or gpgkey. Aiakos detects if there is a ssh or gpg key according to the payload sent. The POST request (with curl) would be: curl --request POST --url http://aiakos.lab.fiware.org:3000/v1/support --header 'accept: text/plain' --header 'content-type: text/plain’ --header ‘X-Auth-Token: your token id’ —data your ssh key path or gpg key path

          People

          • Assignee:
            ZHAW Node Helpdesk Zurich Node Helpdesk
            Reporter:
            henar Henar Muñoz
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: