aws-cfn-custom-resource-resolve-parser


Nameaws-cfn-custom-resource-resolve-parser JSON
Version 0.3.0 PyPI version JSON
download
home_page
SummaryAWS CFN Custom Resource parser for dynamic values
upload_time2023-08-08 05:47:44
maintainer
docs_urlNone
authorJohn Preston
requires_python>=3.8,<4.0
licenseMPL-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ======================================
AWS CFN Custom resource Resolve parser
======================================


.. image:: https://img.shields.io/pypi/v/aws_cfn_custom_resource_resolve_parser.svg
        :target: https://pypi.python.org/pypi/aws_cfn_custom_resource_resolve_parser

.. image:: https://readthedocs.org/projects/aws-cfn-custom-resource-resolve-parser/badge/?version=latest
        :target: https://aws-cfn-custom-resource-resolve-parser.readthedocs.io/en/latest/?version=latest
        :alt: Documentation Status


----------------------------------------------------------------------------------------------------
Small lib to parse and retrieve secret from AWS Secrets manager using the CFN resolve format string
----------------------------------------------------------------------------------------------------

Intent
=======

Currently in AWS CloudFormation, using **{{resolve}}** does not work for custom resources. Pending the feature being
released, when the use of private resource types is not possible for the use-case, this small lib aims to allow
parsing secrets so that you can today write your CFN templates with resolve.

Requirements
=============

Sadly, this means the lambda function using this library will still need IAM access directly, and cannot use the role
used by CloudFormation on create/update currently.

Usage
=======

.. code-block:: python

    from aws_cfn_custom_resource_resolve_parser import handle
    secret_string = r"{{resolve:secretsmanager:mysecret:SecretString:password}}"
    secret_value = handle(secret_string)


* Documentation: https://aws-cfn-custom-resource-resolve-parser.readthedocs.io.

Credits
-------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "aws-cfn-custom-resource-resolve-parser",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "John Preston",
    "author_email": "john@ews-network.net",
    "download_url": "https://files.pythonhosted.org/packages/31/5c/7200c84754737a8d4377777f8d53a79f1039c07416785e3038fb79058d7f/aws_cfn_custom_resource_resolve_parser-0.3.0.tar.gz",
    "platform": null,
    "description": "======================================\nAWS CFN Custom resource Resolve parser\n======================================\n\n\n.. image:: https://img.shields.io/pypi/v/aws_cfn_custom_resource_resolve_parser.svg\n        :target: https://pypi.python.org/pypi/aws_cfn_custom_resource_resolve_parser\n\n.. image:: https://readthedocs.org/projects/aws-cfn-custom-resource-resolve-parser/badge/?version=latest\n        :target: https://aws-cfn-custom-resource-resolve-parser.readthedocs.io/en/latest/?version=latest\n        :alt: Documentation Status\n\n\n----------------------------------------------------------------------------------------------------\nSmall lib to parse and retrieve secret from AWS Secrets manager using the CFN resolve format string\n----------------------------------------------------------------------------------------------------\n\nIntent\n=======\n\nCurrently in AWS CloudFormation, using **{{resolve}}** does not work for custom resources. Pending the feature being\nreleased, when the use of private resource types is not possible for the use-case, this small lib aims to allow\nparsing secrets so that you can today write your CFN templates with resolve.\n\nRequirements\n=============\n\nSadly, this means the lambda function using this library will still need IAM access directly, and cannot use the role\nused by CloudFormation on create/update currently.\n\nUsage\n=======\n\n.. code-block:: python\n\n    from aws_cfn_custom_resource_resolve_parser import handle\n    secret_string = r\"{{resolve:secretsmanager:mysecret:SecretString:password}}\"\n    secret_value = handle(secret_string)\n\n\n* Documentation: https://aws-cfn-custom-resource-resolve-parser.readthedocs.io.\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n",
    "bugtrack_url": null,
    "license": "MPL-2.0",
    "summary": "AWS CFN Custom Resource parser for dynamic values",
    "version": "0.3.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eb60c6afd12a7153fc6fbeb27010ff58adf215334d7f645232143481516e28d6",
                "md5": "b61f730d95af511e35949efa9033bf14",
                "sha256": "714ec6142766dc1a1c762fb5d2a07b2ca694c97124e859d1950135b5b44ba92e"
            },
            "downloads": -1,
            "filename": "aws_cfn_custom_resource_resolve_parser-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b61f730d95af511e35949efa9033bf14",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 9133,
            "upload_time": "2023-08-08T05:47:43",
            "upload_time_iso_8601": "2023-08-08T05:47:43.413363Z",
            "url": "https://files.pythonhosted.org/packages/eb/60/c6afd12a7153fc6fbeb27010ff58adf215334d7f645232143481516e28d6/aws_cfn_custom_resource_resolve_parser-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "315c7200c84754737a8d4377777f8d53a79f1039c07416785e3038fb79058d7f",
                "md5": "79aa7c47e8e91b55b6c025b24753bd3b",
                "sha256": "9bc51f64f3e700594dd76fbed651a50d21f2bad9d892480b8e8d2fc44c4d6771"
            },
            "downloads": -1,
            "filename": "aws_cfn_custom_resource_resolve_parser-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "79aa7c47e8e91b55b6c025b24753bd3b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 8658,
            "upload_time": "2023-08-08T05:47:44",
            "upload_time_iso_8601": "2023-08-08T05:47:44.545494Z",
            "url": "https://files.pythonhosted.org/packages/31/5c/7200c84754737a8d4377777f8d53a79f1039c07416785e3038fb79058d7f/aws_cfn_custom_resource_resolve_parser-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-08 05:47:44",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aws-cfn-custom-resource-resolve-parser"
}
        
Elapsed time: 0.10607s