Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IfcOpenShell/IfcOpenShell
/ get_secrets
Function
get_secrets
src/opencdeserver/api/app/security/secrets.py:4–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2
3
4
def
get_secrets():
5
secrets = dict()
6
for
var in glob(
"/run/secrets/*"
):
7
k = var.split(
"/"
)[-1]
8
v = open(var).read().rstrip(
"\n"
)
9
secrets[k] = v
10
return
secrets
Callers
4
secure.py
File · 0.90
neo4j.py
File · 0.90
foundation.py
File · 0.90
foundation.py
File · 0.85
Calls
3
split
Method · 0.80
open
Function · 0.50
read
Method · 0.45
Tested by
no test coverage detected