Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add secrets manager * add conditions * refactor to support common way to add extra services
- Loading branch information
Showing
6 changed files
with
107 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,5 +37,8 @@ nosetests.xml | |
# Ignore vim swap files | ||
.*.sw* | ||
|
||
# Ignore intellij | ||
.idea/ | ||
|
||
# Ignore virtualenv | ||
env/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright (c) 2012-2013, Mark Peek <mark@peek.org> | ||
# All rights reserved. | ||
# | ||
# See LICENSE file for full license. | ||
|
||
from aws import Action as BaseAction | ||
from aws import BaseARN | ||
|
||
service_name = 'AWS Secrets Manager' | ||
prefix = 'secretsmanager' | ||
|
||
|
||
class Action(BaseAction): | ||
def __init__(self, action=None): | ||
sup = super(Action, self) | ||
sup.__init__(prefix, action) | ||
|
||
|
||
class ARN(BaseARN): | ||
def __init__(self, resource='', region='', account=''): | ||
sup = super(ARN, self) | ||
sup.__init__(service=prefix, resource=resource, region=region, | ||
account=account) | ||
|
||
|
||
CancelRotateSecret = Action('CancelRotateSecret') | ||
CreateSecret = Action('CreateSecret') | ||
DeleteResourcePolicy = Action('DeleteResourcePolicy') | ||
DeleteSecret = Action('DeleteSecret') | ||
DescribeSecret = Action('DescribeSecret') | ||
GetRandomPassword = Action('GetRandomPassword') | ||
GetResourcePolicy = Action('GetResourcePolicy') | ||
GetSecretValue = Action('GetSecretValue') | ||
ListSecretVersionIds = Action('ListSecretVersionIds') | ||
ListSecrets = Action('ListSecrets') | ||
PutResourcePolicy = Action('PutResourcePolicy') | ||
PutSecretValue = Action('PutSecretValue') | ||
RestoreSecret = Action('RestoreSecret') | ||
RotateSecre = Action('RotateSecre') | ||
TagResource = Action('TagResource') | ||
UntagResource = Action('UntagResource') | ||
UpdateSecret = Action('UpdateSecret') | ||
UpdateSecretVersionStage = Action('UpdateSecretVersionStage') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
git+https://github.com/rspivak/slimit.git#egg=slimit |