mirror of
https://github.com/PurpleComputing/scim-examples.git
synced 2026-02-15 11:12:39 +00:00
8 lines
342 B
Bash
Executable File
8 lines
342 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# this script generates a file called `scim.env` using the contents of a scimsession file in the PWD.
|
|
# This env file is used to populate the scimsession env var in the container to prevent copying the sensitive file into a container layer.
|
|
|
|
SESSION=$(cat scimsession | base64 | tr -d "\n")
|
|
|
|
echo "OP_SESSION=$SESSION" > scim.env |