Merge pull request #110951 from rapenne-s/add/aws-mfa

This commit is contained in:
Sandro 2021-01-28 15:30:01 +01:00 committed by GitHub
commit 9ce7db057c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 0 deletions

View file

@ -8639,6 +8639,12 @@
githubId = 36899624;
name = "squalus";
};
srapenne = {
email = "solene@perso.pw";
github = "rapenne-s";
githubId = 248016;
name = "Solène Rapenne";
};
srghma = {
email = "srghma@gmail.com";
github = "srghma";

View file

@ -0,0 +1,35 @@
{ lib
, buildPythonApplication
, fetchFromGitHub
, pkgs
, boto3
}:
buildPythonApplication rec {
pname = "aws-mfa";
version = "0.0.12";
src = fetchFromGitHub {
owner = "broamski";
repo = "aws-mfa";
rev = version;
sha256 = "1blcpa13zgyac3v8inc7fh9szxq2avdllx6w5ancfmyh5spc66ay";
};
propagatedBuildInputs = [
boto3
];
doCheck = false;
pythonImportsCheck = [
"awsmfa"
];
meta = with lib; {
description = "Manage AWS MFA Security Credentials";
homepage = "https://github.com/broamski/aws-mfa";
license = [ licenses.mit ];
maintainers = [ maintainers.srapenne ];
};
}

View file

@ -999,6 +999,8 @@ in
aws-google-auth = python3Packages.callPackage ../tools/admin/aws-google-auth { };
aws-mfa = python3Packages.callPackage ../tools/admin/aws-mfa { };
aws-nuke = callPackage ../tools/admin/aws-nuke { };
aws-okta = callPackage ../tools/security/aws-okta { };