tis-saml2aws icon

saml2aws

Paquet d’installation silencieuse pour saml2aws

2.36.17-1

  • package: tis-saml2aws
  • name: saml2aws
  • version: 2.36.17-1
  • maintainer: Amel FRADJ
  • licence: MIT license
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 5.79 Mo
  • homepage : github.com/Versent/saml2aws

package           : tis-saml2aws
version           : 2.36.17-1
architecture      : x64
section           : base
priority          : optional
name              : saml2aws
categories        : 
maintainer        : Amel FRADJ
description       : CLI tool which enables you to login and retrieve Amazon Web Services / AWS temporary credentials using a SAML IDP
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Outil CLI qui vous permet de vous connecter et de récupérer les informations d'identification temporaires d'Amazon Web Services / AWS à l'aide d'un IDP SAML
description_pl    : Narzędzie CLI, które umożliwia logowanie i pobieranie tymczasowych poświadczeń Amazon Web Services / AWS przy użyciu SAML IDP
description_de    : CLI-Tool, mit dem Sie sich bei Amazon Web Services / AWS anmelden und temporäre Anmeldedaten über einen SAML-IDP abrufen können
description_es    : Herramienta CLI que permite iniciar sesión y recuperar credenciales temporales de Amazon Web Services / AWS mediante un IDP SAML
description_pt    : Ferramenta CLI que permite iniciar sessão e recuperar credenciais temporárias do Amazon Web Services / AWS utilizando um IDP SAML
description_it    : Strumento CLI che consente di accedere e recuperare le credenziali temporanee di Amazon Web Services / AWS utilizzando un IDP SAML
description_nl    : CLI-tool waarmee je kunt inloggen en tijdelijke referenties van Amazon Web Services / AWS kunt ophalen met behulp van een SAML IDP
description_ru    : CLI-инструмент, позволяющий входить в систему и получать временные учетные данные Amazon Web Services / AWS с помощью SAML IDP
audit_schedule    : 
editor            : 
keywords          : 
licence           : MIT license
homepage          : github.com/Versent/saml2aws
package_uuid      : 85ea6dcd-6544-4e4d-a0d3-646513db9161
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : d01866d209b0960335350c6b110d6e850c46cc54a8720eb93230b617a2d00d87
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : iqgjctmt6B8C8E6HMpFiJTPzn4QZJeBKDI4pzpVGUPwH3ebqii9V34KHOx9wN630vewc5eFXormLZ/Or12EeLdPB6yIx/8b3ZSScGfif/0Lbj9LznfK5L1835MVVT2y/OjqmDXE+0S6qCmid4LMssVubv1g57b1y/+HvMrn/4lBKyqgj2fAeKjRtOoVACZMv3ZiRyfqsSexfQwJEnX36nRYJj5xKgKEe4Gi4KAnSOjxBP939kCkMrn3WighYyNgRkRoCQRSqUfdj/qkwoIGKkFhVQdcopwkiwvs11STVey25eAvv6YoImEZp/DqxCAsYjwlLX8YDrac8tD4MXXFT4Q==
signature_date    : 2024-07-27T08:07:14.935967
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes

# -*- coding: utf-8 -*-
from setuphelpers import *

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    for soft in installed_softwares('saml2aws'):
        if Version(soft['version']) < Version(control.get_software_version()):
            run(uninstall_cmd(soft['key']))

    bin_name = glob.glob('saml2aws_*_windows_amd64.msi')[0]
    # Installing the software
    
    install_msi_if_needed(bin_name)



# -*- coding: utf-8 -*-
from setuphelpers import *
import re


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    
 
    git_repo = "Versent/saml2aws"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith(".msi"):
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            filename = download["name"]
            break

    if not isfile(filename):
        package_updated = True
        wget(url_dl,filename,proxies=proxies)

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.msi'):
        if f != filename:
            remove_file(f)
    
    control.set_software_version(version)
    control.save_control_to_wapt()

035f4cebe025b3e89fd7ccbc0ef5af10113f7e7b4bcfc0c054ee016bf156180e : setup.py
64745863a4a123a7c6aee4da7432858d9d8715874da6861d96cc36c19d24bb68 : update_package.py
d01866d209b0960335350c6b110d6e850c46cc54a8720eb93230b617a2d00d87 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
cbab406eb9c7a0a1e4745410f9e165e1350c77a268a9c8a1b495fa6dfa8493d7 : luti.json
f51e9c908ad58d96373531939b62011212b37da09a4ccea66c0b8f990c2322e3 : saml2aws_2.36.17_windows_amd64.msi
ae6926ad9da731a64c2621727c96cb810620c514397ecfab08610be306a59c8b : WAPT/control