Skip to content

Commit

Permalink
Merge pull request #117 from dule1322/CTX-5345
Browse files Browse the repository at this point in the history
CTX-5345: Add support for Secret of type "credentials"
  • Loading branch information
igorperic17 authored Jan 23, 2024
2 parents 8b3b9aa + a7d6a3e commit 03024b4
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions coretex/entities/secret/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.

from .aws_secret import AWSSecret
from .credentials import CredentialsSecret
from .secret import Secret
28 changes: 28 additions & 0 deletions coretex/entities/secret/credentials.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright (C) 2023 Coretex LLC

# This file is part of Coretex.ai

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

from .secret import Secret


class CredentialsSecret(Secret):

"""
Represents Credentials Secret entity from Coretex.ai
"""

username: str
password: str

0 comments on commit 03024b4

Please sign in to comment.