ibm-secrets-manager-instance-management-sdk 2.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ibm_secrets_manager_instance_management_sdk-2.0.1/.gitattributes +1 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/.github/workflows/codeql-analysis.yml +69 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/.github/workflows/create-release.yml +42 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/.github/workflows/publish.yml +36 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/.gitignore +134 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/.pylintrc +576 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/.releaserc +58 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/CODE_OF_CONDUCT.md +62 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/CONTRIBUTING.md +11 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/LICENSE +201 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/PKG-INFO +159 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/README.md +120 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/examples/test_secrets_manager_instance_management_v2_examples.py +144 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/ibm_cloud/__init__.py +0 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/ibm_cloud/common.py +11 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/ibm_cloud/secrets_manager_control_plane_v2.py +1246 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/ibm_secrets_manager_sdk_instance_management/__init__.py +0 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/ibm_secrets_manager_sdk_instance_management/common.py +11 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/ibm_secrets_manager_sdk_instance_management/secrets_manager_instance_management_v2.py +755 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/ibm_secrets_manager_sdk_instance_management/version.py +1 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/package.json +9 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/pyproject.toml +77 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/secrets_manager_instance_management_v2.env +4 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/setup.py +21 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/test/integration/test_secrets_manager_control_plane_v2.py +90 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/test/integration/test_secrets_manager_instance_management_v2.py +80 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/test/unit/test_secrets_manager_control_plane_v2.py +936 -0
- ibm_secrets_manager_instance_management_sdk-2.0.1/test/unit/test_secrets_manager_instance_management_v2.py +604 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*.enc binary
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# For most projects, this workflow file will not need changing; you simply need
|
|
2
|
+
# to commit it to your repository.
|
|
3
|
+
#
|
|
4
|
+
# You may wish to alter this file to override the set of languages analyzed,
|
|
5
|
+
# or to provide custom queries or build logic.
|
|
6
|
+
#
|
|
7
|
+
# ******** NOTE ********
|
|
8
|
+
# We have attempted to detect the languages in your repository. Please check
|
|
9
|
+
# the `language` matrix defined below to confirm you have the correct set of
|
|
10
|
+
# supported CodeQL languages.
|
|
11
|
+
#
|
|
12
|
+
name: "CodeQL"
|
|
13
|
+
|
|
14
|
+
on:
|
|
15
|
+
push:
|
|
16
|
+
branches: [ main ]
|
|
17
|
+
pull_request:
|
|
18
|
+
# The branches below must be a subset of the branches above
|
|
19
|
+
branches: [ main ]
|
|
20
|
+
schedule:
|
|
21
|
+
- cron: '0 9 * * 1'
|
|
22
|
+
|
|
23
|
+
jobs:
|
|
24
|
+
analyze:
|
|
25
|
+
name: Analyze
|
|
26
|
+
runs-on: ubuntu-latest
|
|
27
|
+
|
|
28
|
+
strategy:
|
|
29
|
+
fail-fast: false
|
|
30
|
+
matrix:
|
|
31
|
+
language: [ 'python' ]
|
|
32
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
|
|
33
|
+
# Learn more:
|
|
34
|
+
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
|
|
35
|
+
|
|
36
|
+
steps:
|
|
37
|
+
- name: Checkout repository
|
|
38
|
+
uses: actions/checkout@v6
|
|
39
|
+
with:
|
|
40
|
+
fetch-depth: 1
|
|
41
|
+
|
|
42
|
+
# Initializes the CodeQL tools for scanning.
|
|
43
|
+
- name: Initialize CodeQL
|
|
44
|
+
uses: github/codeql-action/init@v4
|
|
45
|
+
with:
|
|
46
|
+
languages: ${{ matrix.language }}
|
|
47
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
48
|
+
# By default, queries listed here will override any specified in a config file.
|
|
49
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
|
50
|
+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
|
51
|
+
|
|
52
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
53
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
|
54
|
+
- name: Autobuild
|
|
55
|
+
uses: github/codeql-action/autobuild@v4
|
|
56
|
+
|
|
57
|
+
# ℹ️ Command-line programs to run using the OS shell.
|
|
58
|
+
# 📚 https://git.io/JvXDl
|
|
59
|
+
|
|
60
|
+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
|
61
|
+
# and modify them (or add more) to build your code if your project
|
|
62
|
+
# uses a compiled language
|
|
63
|
+
|
|
64
|
+
#- run: |
|
|
65
|
+
# make bootstrap
|
|
66
|
+
# make release
|
|
67
|
+
|
|
68
|
+
- name: Perform CodeQL Analysis
|
|
69
|
+
uses: github/codeql-action/analyze@v4
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
name: Create a new release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
release:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
permissions:
|
|
12
|
+
contents: write
|
|
13
|
+
steps:
|
|
14
|
+
- name: Checkout code
|
|
15
|
+
uses: actions/checkout@v6
|
|
16
|
+
with:
|
|
17
|
+
fetch-depth: 0
|
|
18
|
+
token: ${{ secrets.ADMIN_TOKEN }}
|
|
19
|
+
|
|
20
|
+
- name: Setup Node.js
|
|
21
|
+
uses: actions/setup-node@v6
|
|
22
|
+
with:
|
|
23
|
+
node-version: '24'
|
|
24
|
+
|
|
25
|
+
- name: Setup Python
|
|
26
|
+
uses: actions/setup-python@v6
|
|
27
|
+
with:
|
|
28
|
+
python-version: '3.9'
|
|
29
|
+
|
|
30
|
+
- name: Install dependencies
|
|
31
|
+
run: |
|
|
32
|
+
pip install --user bump-my-version
|
|
33
|
+
npm install
|
|
34
|
+
|
|
35
|
+
- name: Release using semantic-release
|
|
36
|
+
env:
|
|
37
|
+
GITHUB_TOKEN: ${{ secrets.ADMIN_TOKEN }}
|
|
38
|
+
GIT_AUTHOR_NAME: secrets.automation.dev
|
|
39
|
+
GIT_AUTHOR_EMAIL: secrets.automation.dev@il.ibm.com
|
|
40
|
+
GIT_COMMITTER_NAME: secrets.automation.dev
|
|
41
|
+
GIT_COMMITTER_EMAIL: secrets.automation.dev@il.ibm.com
|
|
42
|
+
run: npx semantic-release
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: Publish artifact
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
release:
|
|
6
|
+
types: [published]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
publish:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
permissions:
|
|
12
|
+
contents: read
|
|
13
|
+
id-token: write
|
|
14
|
+
steps:
|
|
15
|
+
- name: Checkout code
|
|
16
|
+
uses: actions/checkout@v6
|
|
17
|
+
with:
|
|
18
|
+
fetch-depth: 1
|
|
19
|
+
token: ${{ secrets.ADMIN_TOKEN }}
|
|
20
|
+
|
|
21
|
+
- name: Set up Python
|
|
22
|
+
uses: actions/setup-python@v6
|
|
23
|
+
with:
|
|
24
|
+
python-version: '3.9'
|
|
25
|
+
|
|
26
|
+
- name: Install build dependencies
|
|
27
|
+
run: |
|
|
28
|
+
python -m pip install --upgrade pip
|
|
29
|
+
python -m pip install hatchling build --user
|
|
30
|
+
|
|
31
|
+
- name: Build distribution
|
|
32
|
+
run: |
|
|
33
|
+
python -m build --sdist --wheel --outdir dist/ .
|
|
34
|
+
|
|
35
|
+
- name: Publish distribution to PyPI
|
|
36
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
pip-wheel-metadata/
|
|
24
|
+
share/python-wheels/
|
|
25
|
+
*.egg-info/
|
|
26
|
+
.installed.cfg
|
|
27
|
+
*.egg
|
|
28
|
+
MANIFEST
|
|
29
|
+
|
|
30
|
+
# PyInstaller
|
|
31
|
+
# Usually these files are written by a python script from a template
|
|
32
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
33
|
+
*.manifest
|
|
34
|
+
*.spec
|
|
35
|
+
|
|
36
|
+
# Installer logs
|
|
37
|
+
pip-log.txt
|
|
38
|
+
pip-delete-this-directory.txt
|
|
39
|
+
|
|
40
|
+
# Unit test / coverage reports
|
|
41
|
+
htmlcov/
|
|
42
|
+
.tox/
|
|
43
|
+
.nox/
|
|
44
|
+
.coverage
|
|
45
|
+
.coverage.*
|
|
46
|
+
.cache
|
|
47
|
+
nosetests.xml
|
|
48
|
+
coverage.xml
|
|
49
|
+
*.cover
|
|
50
|
+
*.py,cover
|
|
51
|
+
.hypothesis/
|
|
52
|
+
.pytest_cache/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
target/
|
|
76
|
+
|
|
77
|
+
# Jupyter Notebook
|
|
78
|
+
.ipynb_checkpoints
|
|
79
|
+
|
|
80
|
+
# IPython
|
|
81
|
+
profile_default/
|
|
82
|
+
ipython_config.py
|
|
83
|
+
|
|
84
|
+
# pyenv
|
|
85
|
+
.python-version
|
|
86
|
+
|
|
87
|
+
# pipenv
|
|
88
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
89
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
90
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
91
|
+
# install all needed dependencies.
|
|
92
|
+
#Pipfile.lock
|
|
93
|
+
|
|
94
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
95
|
+
__pypackages__/
|
|
96
|
+
|
|
97
|
+
# Celery stuff
|
|
98
|
+
celerybeat-schedule
|
|
99
|
+
celerybeat.pid
|
|
100
|
+
|
|
101
|
+
# SageMath parsed files
|
|
102
|
+
*.sage.py
|
|
103
|
+
|
|
104
|
+
# Environments
|
|
105
|
+
.env
|
|
106
|
+
.venv
|
|
107
|
+
env/
|
|
108
|
+
venv/
|
|
109
|
+
ENV/
|
|
110
|
+
env.bak/
|
|
111
|
+
venv.bak/
|
|
112
|
+
|
|
113
|
+
# Spyder project settings
|
|
114
|
+
.spyderproject
|
|
115
|
+
.spyproject
|
|
116
|
+
|
|
117
|
+
# Rope project settings
|
|
118
|
+
.ropeproject
|
|
119
|
+
|
|
120
|
+
# mkdocs documentation
|
|
121
|
+
/site
|
|
122
|
+
|
|
123
|
+
# mypy
|
|
124
|
+
.mypy_cache/
|
|
125
|
+
.dmypy.json
|
|
126
|
+
dmypy.json
|
|
127
|
+
|
|
128
|
+
# Pyre type checker
|
|
129
|
+
.pyre/
|
|
130
|
+
*.idea
|
|
131
|
+
.openapi-generator-ignore
|
|
132
|
+
.openapi-generator
|
|
133
|
+
|
|
134
|
+
node_modules
|