Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-18901

Pass token data to spawned environment

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Possibly more generally create a namespaced secret and stuff sensitive data in there rather than directly into the Pod environment in the spawner.

        Attachments

          Activity

          Hide
          athornton Adam Thornton added a comment -

          Passing it in ACCESS_TOKEN for now. It decodes fine (split on '.', add appropriate padding to second field, base64.urlsafe_decode it).

          We'll make a separate story for passing this as a secret.

          Show
          athornton Adam Thornton added a comment - Passing it in ACCESS_TOKEN for now. It decodes fine (split on '.', add appropriate padding to second field, base64.urlsafe_decode it). We'll make a separate story for passing this as a secret.
          Hide
          athornton Adam Thornton added a comment -

          Only deployed (for now) on lsst-lsp-int.

          Show
          athornton Adam Thornton added a comment - Only deployed (for now) on lsst-lsp-int.
          Hide
          gpdf Gregory Dubois-Felsmann added a comment -

          ACCESS_TOKEN being an environment variable in the Python interpreter and terminal shell processes?

          Show
          gpdf Gregory Dubois-Felsmann added a comment - ACCESS_TOKEN being an environment variable in the Python interpreter and terminal shell processes?
          Hide
          shupe David Shupe added a comment -

          I logged into lsst-lsp-int with the 2019-04-16 daily and I found ACCESS_TOKEN available as an environment variable in the terminal and also through os.environ.

          Show
          shupe David Shupe added a comment - I logged into lsst-lsp-int with the 2019-04-16 daily and I found ACCESS_TOKEN available as an environment variable in the terminal and also through os.environ .

            People

            Assignee:
            athornton Adam Thornton
            Reporter:
            athornton Adam Thornton
            Watchers:
            Adam Thornton, David Shupe, Gregory Dubois-Felsmann, Xiuqin Wu [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.